From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Fix coshl for large arguments (BZ #10817)
Date: Tue, 27 Oct 2009 20:18:00 -0000 [thread overview]
Message-ID: <20091027085311.GC3047@sunsite.ms.mff.cuni.cz> (raw)
Hi!
I've verified w_coshl.c is the only *l.c routine which uses the double
version of __finite instead of __finitel.
2009-10-27 Jakub Jelinek <jakub@redhat.com>
[BZ #10817]
* math/w_coshl.c (__coshl): Use __finitel instead of __finite.
Reported by Ray Chason.
--- libc/math/w_coshl.c.jj 2009-05-16 19:23:36.000000000 +0200
+++ libc/math/w_coshl.c 2009-10-27 09:41:18.000000000 +0100
@@ -38,7 +38,7 @@ static char rcsid[] = "$NetBSD: $";
long double z;
z = __ieee754_coshl(x);
if(_LIB_VERSION == _IEEE_ || __isnanl(x)) return z;
- if(!__finite(z) && __finite(x)) {
+ if(!__finitel(z) && __finitel(x)) {
return __kernel_standard(x,x,205); /* cosh overflow */
} else
return z;
Jakub
reply other threads:[~2009-10-27 20:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091027085311.GC3047@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).