]> sourceware.org Git - glibc.git/commitdiff
Fix range checks in coshl.
authorJakub Jelinek <jakub@redhat.com>
Tue, 27 Oct 2009 20:46:08 +0000 (13:46 -0700)
committerUlrich Drepper <drepper@redhat.com>
Tue, 27 Oct 2009 20:46:08 +0000 (13:46 -0700)
ChangeLog
math/w_coshl.c

index b88343fa7a2ad1d37d4adeb17b08a6ba4a3632ed..bac4e7a2f1bf5653b807d2a6a109a1095b64a514 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-27  Jakub Jelinek  <jakub@redhat.com>
+
+       [BZ #10817]
+       * math/w_coshl.c (__coshl): Use __finitel instead of __finite.
+       Reported by Ray Chason.
+
 2009-10-21  H.J. Lu  <hongjiu.lu@intel.com>
 
        * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
index 5f4623a81a67b59accaac6fd6444963f74e93c32..52b8d93522930f020bd36e8e26de8499db6b706d 100644 (file)
@@ -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
This page took 0.050646 seconds and 5 git commands to generate.