From 41bf21a1e72c907b1a065727c3b5da43821ca6b0 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 28 Mar 2012 09:32:12 +0000 Subject: Avoid overflows from long double functions using __kernel_standard. --- math/w_logl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math/w_logl.c') 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) */ } } -- cgit 1.4.1