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"
28 o_threshold= 3.0825471555991674389672e+02,
29 u_threshold= -3.2360724533877978485251e+02;
32 double __exp10(double x) /* wrapper exp10 */
34 double __exp10(x) /* wrapper exp10 */
39 return __ieee754_exp10(x);
42 z = __ieee754_exp10(x);
43 if(_LIB_VERSION == _IEEE_) return z;
46 return __kernel_standard(x,x,46); /* exp10 overflow */
47 else if(x<u_threshold)
48 return __kernel_standard(x,x,47); /* exp10 underflow */
53 weak_alias (__exp10, exp10)
54 strong_alias (__exp10, __pow10)
55 weak_alias (__pow10, pow10)
57 strong_alias (__exp10, __exp10l)
58 weak_alias (__exp10, exp10l)
59 strong_alias (__exp10l, __pow10l)
60 weak_alias (__pow10l, pow10l)