1 /* w_j0l.c -- long double version of w_j0.c.
2 * Conversion to long double by Ulrich Drepper,
3 * Cygnus Support, drepper@cygnus.com.
7 * ====================================================
8 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
10 * Developed at SunPro, a Sun Microsystems, Inc. business.
11 * Permission to use, copy, modify, and distribute this
12 * software is freely granted, provided that this notice
14 * ====================================================
17 #if defined(LIBM_SCCS) && !defined(lint)
18 static char rcsid
[] = "$NetBSD: $";
22 * wrapper j0l(long double x), y0l(long double x)
26 #include "math_private.h"
29 long double j0l(long double x
) /* wrapper j0l */
31 long double j0l(x
) /* wrapper j0 */
36 return __ieee754_j0l(x
);
38 long double z
= __ieee754_j0l(x
);
39 if(_LIB_VERSION
== _IEEE_
|| __isnanl(x
)) return z
;
40 if(fabsl(x
)>X_TLOSS
) {
41 return __kernel_standard(x
,x
,234); /* j0(|x|>X_TLOSS) */
48 long double y0l(long double x
) /* wrapper y0l */
50 long double y0l(x
) /* wrapper y0 */
55 return __ieee754_y0l(x
);
59 if(_LIB_VERSION
== _IEEE_
|| __isnanl(x
) ) return z
;
63 return __kernel_standard(x
,x
,208);
66 return __kernel_standard(x
,x
,209);
69 return __kernel_standard(x
,x
,235); /* y0(x>X_TLOSS) */