[Issue 8476] float comparison operand not truncated from real

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 30 14:44:37 PDT 2012


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


Walter Bright <bugzilla at digitalmars.com> changed:

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


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2012-07-30 14:44:36 PDT ---
I'm not sure what the issue is here. Can you point to what you think it should
be doing?

Also, the compiler is allowed to not truncate reals to floats when doing
comparisons, even if it is typed as a float. This is a feature, not a bug. The
compiler is always allowed to use a higher precision for intermediate
calculations than the source is typed.

-- 
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