2 * Conversion to exp10 by Ulrich Drepper <drepper@cygnus.com>.
6 * ====================================================
7 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
9 * Developed at SunPro, a Sun Microsystems, Inc. business.
10 * Permission to use, copy, modify, and distribute this
11 * software is freely granted, provided that this notice
13 * ====================================================
21 #include "math_private.h"
24 double __exp10(double x
) /* wrapper exp10 */
26 double __exp10(x
) /* wrapper exp10 */
31 return __ieee754_exp10(x
);
34 z
= __ieee754_exp10(x
);
35 if(_LIB_VERSION
== _IEEE_
) return z
;
36 if(!__finite(z
) && __finite(x
)) {
37 /* exp10 overflow (46) if x > 0, underflow (47) if x < 0. */
38 return __kernel_standard(x
,x
,46+!!__signbit(x
));
43 weak_alias (__exp10
, exp10
)
44 strong_alias (__exp10
, __pow10
)
45 weak_alias (__pow10
, pow10
)
47 strong_alias (__exp10
, __exp10l
)
48 weak_alias (__exp10
, exp10l
)
49 strong_alias (__exp10l
, __pow10l
)
50 weak_alias (__pow10l
, pow10l
)