1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #include <math.h>
- #include "math_private.h"
- #if defined(__UCLIBC_HAS_FENV__)
- #include <fenv.h>
- #endif
- #if !defined __NO_LONG_DOUBLE_MATH
- # ifndef __DO_XSI_MATH__
- long double
- j1l (long double x)
- {
- # if defined(__UCLIBC_HAS_FENV__)
- if (__builtin_expect (isgreater (fabsl (x), X_TLOSS), 0)
- && _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
-
- return __kernel_standard_l (x, x, 236);
- # endif
- return (long double) __ieee754_j1 ((double) x);
- }
- long double
- y1l (long double x)
- {
- # if defined(__UCLIBC_HAS_FENV__)
- if (__builtin_expect (islessequal (x, 0.0L) || isgreater (x, X_TLOSS), 0)
- && _LIB_VERSION != _IEEE_)
- {
- if (x < 0.0L)
- {
-
- feraiseexcept (FE_INVALID);
- return __kernel_standard_l (x, x, 211);
- }
- else if (x == 0.0L)
- {
-
- feraiseexcept (FE_DIVBYZERO);
- return __kernel_standard_l (x, x, 210);
- }
- else if (_LIB_VERSION != _POSIX_)
-
- return __kernel_standard_l (x, x, 237);
- }
- # endif
- return (long double) __ieee754_y1 ((double) x);
- }
- # endif
- #endif
|