From: Paul Zimmermann <Paul.Zimmermann@inria.fr>
To: newlib@sourceware.org
Subject: issue with tgamma
Date: Fri, 05 Jan 2024 11:49:16 +0100 [thread overview]
Message-ID: <p9u0frzc9hsj.fsf@coriandre.loria.fr> (raw)
Hi,
I discovered the following issue with tgamma: for x=-0x1.13a5ccd87c9bbp+1008
it yields +Inf instead of NaN:
Checking tgamma with newlib-4.4.0.20231231
tgamma 0 -1 -0x1.13a5ccd87c9bbp+1008 [-nan] [inf] inf inf
libm gives inf
mpfr gives -nan
This issue was present in earlier versions of Newlib, but we only found it
recently since we improved our testing framework.
Paul
next reply other threads:[~2024-01-05 10:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-05 10:49 Paul Zimmermann [this message]
[not found] ` <BN2P110MB154427B901AD06FB47A831F59A66A@BN2P110MB1544.NAMP110.PROD.OUTLOOK.COM>
2024-01-05 17:34 ` Fw: " C Howland
2024-01-08 14:45 ` Paul Zimmermann
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=p9u0frzc9hsj.fsf@coriandre.loria.fr \
--to=paul.zimmermann@inria.fr \
--cc=newlib@sourceware.org \
/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).