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_logl.c | |
parent | bdc6f13012da775a124596c81e40139ee8d2ca91 (diff) | |
download | glibc-41bf21a1e72c907b1a065727c3b5da43821ca6b0.tar glibc-41bf21a1e72c907b1a065727c3b5da43821ca6b0.tar.gz glibc-41bf21a1e72c907b1a065727c3b5da43821ca6b0.tar.bz2 glibc-41bf21a1e72c907b1a065727c3b5da43821ca6b0.zip |
Avoid overflows from long double functions using __kernel_standard.
Diffstat (limited to 'math/w_logl.c')
-rw-r--r-- | math/w_logl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_logl.c b/math/w_logl.c index 593b37d81f..9ea4ff726a 100644 --- a/math/w_logl.c +++ b/math/w_logl.c @@ -30,12 +30,12 @@ __logl (long double x) if (x == 0.0L) { feraiseexcept (FE_DIVBYZERO); - return __kernel_standard (x, x, 216); /* log(0) */ + return __kernel_standard_l (x, x, 216); /* log(0) */ } else { feraiseexcept (FE_INVALID); - return __kernel_standard (x, x, 217); /* log(x<0) */ + return __kernel_standard_l (x, x, 217); /* log(x<0) */ } } |