1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #include <math.h>
- #include "math_private.h"
- #if defined(__UCLIBC_HAS_FENV__)
- #include <fenv.h>
- #endif
- #if !defined __NO_LONG_DOUBLE_MATH
- long double
- asinl (long double x)
- {
- # if defined(__UCLIBC_HAS_FENV__)
- if (__builtin_expect (isgreater (fabsl (x), 1.0L), 0)
- && _LIB_VERSION != _IEEE_)
- {
-
- feraiseexcept (FE_INVALID);
- return __kernel_standard_l (x, x, 202);
- }
- # endif
- return (long double)__ieee754_asin ((double)x);
- }
- #endif
|