1 /* @(#)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 * ====================================================
13 #if defined(LIBM_SCCS) && !defined(lint)
14 static char rcsid
[] = "$NetBSD: w_j0.c,v 1.6 1995/05/10 20:49:11 jtc Exp $";
18 * wrapper j0(double x), y0(double x)
22 #include "math_private.h"
25 double __j0(double x
) /* wrapper j0 */
27 double __j0(x
) /* wrapper j0 */
32 return __ieee754_j0(x
);
34 double z
= __ieee754_j0(x
);
35 if(_LIB_VERSION
== _IEEE_
|| __isnan(x
)) return z
;
37 return __kernel_standard(x
,x
,34); /* j0(|x|>X_TLOSS) */
44 strong_alias (__j0
, __j0l
)
45 weak_alias (__j0
, j0l
)
50 double __y0(double x
) /* wrapper y0 */
52 double __y0(x
) /* wrapper y0 */
57 return __ieee754_y0(x
);
61 if(_LIB_VERSION
== _IEEE_
|| __isnan(x
) ) return z
;
65 return __kernel_standard(x
,x
,8);
68 return __kernel_standard(x
,x
,9);
71 return __kernel_standard(x
,x
,35); /* y0(x>X_TLOSS) */
78 strong_alias (__y0
, __y0l
)
79 weak_alias (__y0
, y0l
)