about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2009-10-27 13:46:08 -0700
committerUlrich Drepper <drepper@redhat.com>2009-10-27 13:46:08 -0700
commit98363ded87633c2bb91140d115cbd7b449634038 (patch)
treecd8a3cd0f54f60c01c7d9ebe8def71c0e0c85e86 /math
parent823bc6da658301e546c0650104e7428b8c636873 (diff)
downloadglibc-98363ded87633c2bb91140d115cbd7b449634038.tar.gz
glibc-98363ded87633c2bb91140d115cbd7b449634038.tar.xz
glibc-98363ded87633c2bb91140d115cbd7b449634038.zip
Fix range checks in coshl.
Diffstat (limited to 'math')
-rw-r--r--math/w_coshl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/w_coshl.c b/math/w_coshl.c
index 5f4623a81a..52b8d93522 100644
--- a/math/w_coshl.c
+++ b/math/w_coshl.c
@@ -38,8 +38,8 @@ static char rcsid[] = "$NetBSD: $";
 	long double z;
 	z = __ieee754_coshl(x);
 	if(_LIB_VERSION == _IEEE_ || __isnanl(x)) return z;
-	if(!__finite(z) && __finite(x)) {
-	        return __kernel_standard(x,x,205); /* cosh overflow */
+	if(!__finitel(z) && __finitel(x)) {
+		return __kernel_standard(x,x,205); /* cosh overflow */
 	} else
 	    return z;
 #endif