This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/19869] floor and fmod not consistent with each other
- From: "fweimer at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 28 Mar 2016 08:34:33 +0000
- Subject: [Bug math/19869] floor and fmod not consistent with each other
- Auto-submitted: auto-generated
- References: <bug-19869-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=19869
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fweimer at redhat dot com
--- Comment #4 from Florian Weimer <fweimer at redhat dot com> ---
I think this is just one of the cases where the specification of fmod does not
uniquely determine the value to be returned. Both 0 and 1.5999999999999996 are
valid because 8.0 - 4 * 1.6 = 1.5999999999999996 and 8.0 - 5 * 1.6 = 0.
--
You are receiving this mail because:
You are on the CC list for the bug.