1 /* from: @(#)w_j0.c 5.1 93/09/24 */
3 * ====================================================
4 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
6 * Developed at SunPro, a Sun Microsystems, Inc. business.
7 * Permission to use, copy, modify, and distribute this
8 * software is freely granted, provided that this notice
10 * ====================================================
14 static char rcsid[] = "$FreeBSD: src/lib/msun/src/w_y0.c,v 1.3 1999/08/28 00:07:09 peter Exp $";
18 * wrapper y0(double x)
22 #include "math_private.h"
25 double y0(double x) /* wrapper y0 */
27 double y0(x) /* wrapper y0 */
32 return __ieee754_y0(x);
36 if(_LIB_VERSION == _IEEE_ || isnan(x) ) return z;
40 return __kernel_standard(x,x,8);
43 return __kernel_standard(x,x,9);
46 return __kernel_standard(x,x,35); /* y0(x>X_TLOSS) */