This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]