1 /* w_exp10l.c -- long double version of w_exp10.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 * ====================================================
22 #include "math_private.h"
25 static const long double
29 o_threshold
= 4.93207544895866790234755e+03,
30 u_threshold
= -4.95104033868549871764588e+03;
33 long double __exp10l(long double x
) /* wrapper exp10 */
35 long double __exp10l(x
) /* wrapper exp10 */
40 return __ieee754_exp10l(x
);
43 z
= __ieee754_exp10l(x
);
44 if(_LIB_VERSION
== _IEEE_
) return z
;
47 return __kernel_standard(x
,x
,246); /* exp10 overflow */
48 else if(x
<u_threshold
)
49 return __kernel_standard(x
,x
,247); /* exp10 underflow */
54 weak_alias (__exp10l
, exp10l
)
55 strong_alias (__exp10l
, __pow10l
)
56 weak_alias (__pow10l
, pow10l
)