12345678910111213141516171819202122232425262728293031323334 |
- #include <math.h>
- #include "math_private.h"
- double
- sinh (double x)
- {
- #if defined(__UCLIBC_HAS_FENV__)
- double z = __ieee754_sinh (x);
- if (__builtin_expect (!isfinite (z), 0) && isfinite (x)
- && _LIB_VERSION != _IEEE_)
- return __kernel_standard (x, x, 25);
- return z;
- #else
- return __ieee754_sinh (x);
- #endif
- }
- libm_hidden_def(sinh)
|