1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- #include <math.h>
- #include "math_private.h"
- #if !defined __NO_LONG_DOUBLE_MATH
- long double
- exp10l (long double x)
- {
- # if defined(__UCLIBC_HAS_FENV__)
- long double z = (long double) __ieee754_exp10 ((double) x);
- if (__builtin_expect (!isfinite (z) || z == 0, 0)
- && isfinite (x) && _LIB_VERSION != _IEEE_)
-
- return __kernel_standard_l (x, x, 246 + !!signbit (x));
- return z;
- # else
- return (long double) __ieee754_exp10 ((double) x);
- # endif
- }
- strong_alias (exp10l, pow10l)
- #endif
|