public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/552] New: Wrong return values for tgamma (0) and tgamma (-0)
@ 2004-11-16 22:48 hjl@lucon.org
  2004-11-21 11:42 ` [Bug math/552] " cvs-commit@gcc.gnu.org
  2004-11-22  9:22 ` jakub@redhat.com
  0 siblings, 2 replies; 3+ messages in thread
From: hjl@lucon.org @ 2004-11-16 22:48 UTC (permalink / raw)
  To: glibc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 846 bytes --]

According to IEEE Std 1003.1, 2004 Edition:

http://www.opengroup.org/onlinepubs/009695399/functions/tgamma.html

If x is ±0, a pole error shall occur, and tgamma(), tgammaf(), and tgammal()
shall return ±HUGE_VAL, ±HUGE_VALF, and ±HUGE_VALL, respectively.

But glibc returns NAN.

-- 
           Summary: Wrong return values for tgamma (0) and tgamma (-0)
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: hjl at lucon dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=552

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2004-11-22  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-16 22:48 [Bug math/552] New: Wrong return values for tgamma (0) and tgamma (-0) hjl@lucon.org
2004-11-21 11:42 ` [Bug math/552] " cvs-commit@gcc.gnu.org
2004-11-22  9:22 ` jakub@redhat.com

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