[Bug math/19869] floor and fmod not consistent with each other
fweimer at redhat dot com
sourceware-bugzilla@sourceware.org
Tue Mar 29 12:30:00 GMT 2016
https://sourceware.org/bugzilla/show_bug.cgi?id=19869
--- Comment #8 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Andreas Schwab from comment #7)
> remainder(8, 1.6) returns -4.4e-16, thus, per definitionem, fmod(8, 1.6)
> returns remainder(8, 1.6) + 1.6 = 1.5999999999999996447.
POSIX does not define fmod in terms of remainder. Is there another standard
which does? (remainder seems to uniquely determine its result, though.)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Glibc-bugs
mailing list