[Issue 3171] % not implemented correctly for floats

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 13 13:08:41 PDT 2009


http://d.puremagic.com/issues/show_bug.cgi?id=3171


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com




--- Comment #1 from Walter Bright <bugzilla at digitalmars.com>  2009-07-13 13:08:41 PDT ---
As to why the code generator doesn't use FPREM1 instead of FPREM, there's the
following comment: "We don't use fprem1 because for some inexplicable
reason we get -5 when we do _modulo(15, 10)"

This could be a bug in older CPUs.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list