1 /* w_exp10f.c -- float version of w_exp10.c.
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 float __exp10f(float x
) /* wrapper exp10f */
26 float __exp10f(x
) /* wrapper exp10f */
31 return __ieee754_exp10f(x
);
34 z
= __ieee754_exp10f(x
);
35 if(_LIB_VERSION
== _IEEE_
) return z
;
36 if(!__finitef(z
) && __finitef(x
)) {
37 /* exp10f overflow (146) if x > 0, underflow (147) if x < 0. */
38 return (float)__kernel_standard((double) x
, (double) x
,
44 weak_alias (__exp10f
, exp10f
)
45 strong_alias (__exp10f
, __pow10f
)
46 weak_alias (__pow10f
, pow10f
)