2 * Conversion to exp10 by Ulrich Drepper <drepper@cygnus.com>.
4 * ====================================================
5 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
7 * Developed at SunPro, a Sun Microsystems, Inc. business.
8 * Permission to use, copy, modify, and distribute this
9 * software is freely granted, provided that this notice
11 * ====================================================
19 #include "math_private.h"
26 o_threshold= 3.0825471555991674389672e+02,
27 u_threshold= -3.2360724533877978485251e+02;
30 double __exp10(double x) /* wrapper exp10 */
32 double __exp10(x) /* wrapper exp10 */
37 return __ieee754_exp10(x);
40 z = __ieee754_exp10(x);
41 if(_LIB_VERSION == _IEEE_) return z;
44 return __kernel_standard(x,x,46); /* exp10 overflow */
45 else if(x<u_threshold)
46 return __kernel_standard(x,x,47); /* exp10 underflow */
51 weak_alias (__exp10, exp10)
52 strong_alias (__exp10, __pow10)
53 weak_alias (__pow10, pow10)
55 strong_alias (__exp10, __exp10l)
56 weak_alias (__exp10, exp10l)
57 strong_alias (__exp10l, __pow10l)
58 weak_alias (__pow10l, pow10l)