[Bug math/22906] new version of exp doesn't always round correctly

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Thu Mar 1 17:52:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=22906

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Correct rounding is outside the scope of functions such as exp that are not
bound to IEEE operations.  Only fully-defined functions such as sqrt and fma
are expected to be correctly rounded.  A correctly rounded exp would be crexp
as per TS 18661-4, but that's not supported by glibc.  Note that exp has never
been correctly rounded in glibc on 32-bit x86, for example, nor has it ever
been correctly rounded in rounding modes other than FE_TONEAREST (which would
be required for crexp), nor has expl ever been correctly rounded.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list