123456789101112131415161718192021222324252627282930313233343536373839 |
- #include <math.h>
- #include "math_private.h"
- #if !defined __NO_LONG_DOUBLE_MATH
- long double
- expl (long double x)
- {
- # if defined(__UCLIBC_HAS_FENV__)
- long double z = (long double) __ieee754_exp ((double) x);
- if (__builtin_expect (!isfinite (z) || z == 0, 0)
- && isfinite (x) && _LIB_VERSION != _IEEE_)
- return __kernel_standard_l (x, x, 206 + !!signbit (x));
- return z;
- # else
- return (long double) __ieee754_exp ((double) x);
- # endif
- }
- libm_hidden_def(expl)
- #endif
|