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_remainderl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'math/w_remainderl.c') diff --git a/math/w_remainderl.c b/math/w_remainderl.c index 3f67b58..a21065c 100644 --- a/math/w_remainderl.c +++ b/math/w_remainderl.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2011 Free Software Foundation, Inc. +/* Copyright (C) 2011-2012 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 2011. @@ -27,7 +27,7 @@ __remainderl (long double x, long double y) if (((__builtin_expect (y == 0.0L, 0) && ! __isnanl (x)) || (__builtin_expect (__isinf_nsl (x), 0) && ! __isnanl (y))) && _LIB_VERSION != _IEEE_) - return __kernel_standard (x, y, 228); /* remainder domain */ + return __kernel_standard_l (x, y, 228); /* remainder domain */ return __ieee754_remainderl (x, y); } -- cgit v1.1