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 long double __exp10l(long double x
) /* wrapper exp10 */
27 long double __exp10l(x
) /* wrapper exp10 */
32 return __ieee754_exp10l(x
);
35 z
= __ieee754_exp10l(x
);
36 if(_LIB_VERSION
== _IEEE_
) return z
;
37 if(!__finitel(z
) && __finitel(x
)) {
38 /* exp10 overflow (246) if x > 0, underflow (247) if x < 0. */
39 return __kernel_standard(x
,x
,246+__signbitl(x
));
44 weak_alias (__exp10l
, exp10l
)
45 strong_alias (__exp10l
, __pow10l
)
46 weak_alias (__pow10l
, pow10l
)