public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* issue with tgamma
@ 2024-01-05 10:49 Paul Zimmermann
       [not found] ` <BN2P110MB154427B901AD06FB47A831F59A66A@BN2P110MB1544.NAMP110.PROD.OUTLOOK.COM>
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Zimmermann @ 2024-01-05 10:49 UTC (permalink / raw)
  To: newlib

       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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-08 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-05 10:49 issue with tgamma Paul Zimmermann
     [not found] ` <BN2P110MB154427B901AD06FB47A831F59A66A@BN2P110MB1544.NAMP110.PROD.OUTLOOK.COM>
2024-01-05 17:34   ` Fw: " C Howland
2024-01-08 14:45     ` Paul Zimmermann

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).