This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/6785] erf() does not set errno for underflow
- From: "jsm28 at gcc dot gnu.org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 28 Nov 2013 16:57:35 +0000
- Subject: [Bug math/6785] erf() does not set errno for underflow
- Auto-submitted: auto-generated
- References: <bug-6785-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=6785
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
It's now documented that errno is only intended to be set to ERANGE for
underflow to 0, not for underflow to subnormals, and erf can't underflow to 0
(the result for small x is about x * 2/sqrt(pi)).
--
You are receiving this mail because:
You are on the CC list for the bug.