diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-03-28 09:32:12 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-03-28 09:32:12 +0000 |
commit | 41bf21a1e72c907b1a065727c3b5da43821ca6b0 (patch) | |
tree | 93612a0bb49dfead686c656b36da812fb810c2cf /math/w_jnl.c | |
parent | bdc6f13012da775a124596c81e40139ee8d2ca91 (diff) | |
download | glibc-41bf21a1e72c907b1a065727c3b5da43821ca6b0.tar.gz glibc-41bf21a1e72c907b1a065727c3b5da43821ca6b0.tar.xz glibc-41bf21a1e72c907b1a065727c3b5da43821ca6b0.zip |
Avoid overflows from long double functions using __kernel_standard.
Diffstat (limited to 'math/w_jnl.c')
-rw-r--r-- | math/w_jnl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/math/w_jnl.c b/math/w_jnl.c index 2028d488df..0263147b2f 100644 --- a/math/w_jnl.c +++ b/math/w_jnl.c @@ -59,7 +59,7 @@ long double __jnl(int n, long double x) /* wrapper jnl */ || __isnanl(x)) return z; if(fabsl(x)>X_TLOSS) { - return __kernel_standard((double)n,x,238); /* jn(|x|>X_TLOSS,n) */ + return __kernel_standard_l((double)n,x,238); /* jn(|x|>X_TLOSS,n) */ } else return z; #endif @@ -77,13 +77,13 @@ long double __ynl(int n, long double x) /* wrapper ynl */ if(x <= 0.0){ if(x==0.0) /* d= -one/(x-x); */ - return __kernel_standard((double)n,x,212); + return __kernel_standard_l((double)n,x,212); else /* d = zero/(x-x); */ - return __kernel_standard((double)n,x,213); + return __kernel_standard_l((double)n,x,213); } if(x>X_TLOSS && _LIB_VERSION != _POSIX_) { - return __kernel_standard((double)n,x,239); /* yn(x>X_TLOSS,n) */ + return __kernel_standard_l((double)n,x,239); /* yn(x>X_TLOSS,n) */ } else return z; #endif |