1234567891011121314151617181920212223242526272829303132333435363738 |
- #include <math.h>
- #include "math_private.h"
- #if defined(__UCLIBC_HAS_FENV__)
- #include <fenv.h>
- #endif
- float
- asinf (float x)
- {
- #if defined(__UCLIBC_HAS_FENV__)
- if (__builtin_expect (isgreater (fabsf (x), 1.0f), 0)
- && _LIB_VERSION != _IEEE_)
- {
-
- feraiseexcept (FE_INVALID);
- return __kernel_standard_f (x, x, 102);
- }
- #endif
- return (float) __ieee754_asin ((double)x);
- }
|