aboutsummaryrefslogtreecommitdiff
path: root/math/w_j1f.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-03-16 20:08:02 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-03-16 20:08:02 +0000
commitc36e1d2369f149a64c759f3ad6f4cc5a03b03b62 (patch)
treee08402c0a348536aedf71d15bc7c4de01089066c /math/w_j1f.c
parent11b90b9f504df5b2da91ce3a06c1657d99e4a95f (diff)
downloadglibc-c36e1d2369f149a64c759f3ad6f4cc5a03b03b62.tar
glibc-c36e1d2369f149a64c759f3ad6f4cc5a03b03b62.tar.gz
glibc-c36e1d2369f149a64c759f3ad6f4cc5a03b03b62.tar.bz2
glibc-c36e1d2369f149a64c759f3ad6f4cc5a03b03b62.zip
Disable Bessel function TLOSS errors in POSIX mode.
Diffstat (limited to 'math/w_j1f.c')
-rw-r--r--math/w_j1f.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_j1f.c b/math/w_j1f.c
index 29bd949eea..a3f5ee2e27 100644
--- a/math/w_j1f.c
+++ b/math/w_j1f.c
@@ -26,7 +26,7 @@ float
j1f (float x)
{
if (__builtin_expect (isgreater (fabsf (x), X_TLOSS), 0)
- && _LIB_VERSION != _IEEE_)
+ && _LIB_VERSION != _IEEE_ && _LIB_VERSION != _POSIX_)
/* j1(|x|>X_TLOSS) */
return __kernel_standard_f (x, x, 136);
@@ -51,7 +51,7 @@ y1f (float x)
else if (x == 0.0f)
/* d = -one/(x-x) */
return __kernel_standard_f (x, x, 110);
- else
+ else if (_LIB_VERSION != _POSIX_)
/* y1(x>X_TLOSS) */
return __kernel_standard_f (x, x, 137);
}