123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #include <math.h>
- #include "math_private.h"
- float
- exp10f (float x)
- {
- #if defined(__UCLIBC_HAS_FENV__)
- float z = (float) __ieee754_exp10 ((double) x);
- if (__builtin_expect (!isfinite (z) || z == 0, 0)
- && isfinite (x) && _LIB_VERSION != _IEEE_)
-
- return __kernel_standard_f (x, x, 146 + !!signbit (x));
- return z;
- #else
- return (float) __ieee754_exp10 ((double) x);
- #endif
- }
- strong_alias (exp10f, pow10f)
|