123456789101112131415161718192021222324252627282930313233343536373839404142 |
- #include <math.h>
- #include "math_private.h"
- #if defined(__UCLIBC_HAS_FENV__)
- #include <fenv.h>
- #endif
- #if !defined __NO_LONG_DOUBLE_MATH
- long double
- acosl (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, 201);
- }
- #endif
- return (long double) __ieee754_acos ((double) x);
- }
- #endif
|