public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/4108] New: erfcf returns incorrectly rounded results compared to erfc
@ 2007-02-28  2:34 myles at peakstreaminc dot com
  2007-02-28  2:35 ` [Bug math/4108] " myles at peakstreaminc dot com
  0 siblings, 1 reply; 4+ messages in thread
From: myles at peakstreaminc dot com @ 2007-02-28  2:34 UTC (permalink / raw)
  To: glibc-bugs

In the attached program results from erfc are compared with results from erfcf
and large differences are flagged. The errors occur for values near 4.0 and 8.0,
but slightly under.

Two examples:

x: 3.9311595 (407b981e)  float(erfc): 2.7055004e-08 (32e86695)  erfcf: 2.705503e
-08 (32e866a4)  diff: 2.6645353e-14 (45 ULP)

x: 7.9999866 (40ffffe4)  float(erfc): 1.1226714e-29 (f63b46e)  erfcf: 1.1226756e
-29 (f63b4a7)  diff: 4.2882034e-35 (114 ULP)


It is possible the values for erfc are incorrect, as I don't have another source
to check that.

Also happens on x86_64-redhat-linux

-- 
           Summary: erfcf returns incorrectly rounded results compared to
                    erfc
           Product: glibc
           Version: 2.3.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: math
        AssignedTo: aj at suse dot de
        ReportedBy: myles at peakstreaminc dot com
                CC: glibc-bugs at sources dot redhat dot com
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: i386-redhat-linux


http://sourceware.org/bugzilla/show_bug.cgi?id=4108

------- 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] 4+ messages in thread

end of thread, other threads:[~2012-03-01 21:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-4108-131@http.sourceware.org/bugzilla/>
2012-02-26 14:00 ` [Bug math/4108] erfcf returns incorrectly rounded results compared to erfc jsm28 at gcc dot gnu.org
2012-02-26 16:34 ` jsm28 at gcc dot gnu.org
2012-03-01 21:19 ` jsm28 at gcc dot gnu.org
2007-02-28  2:34 [Bug math/4108] New: " myles at peakstreaminc dot com
2007-02-28  2:35 ` [Bug math/4108] " myles at peakstreaminc dot 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).