[Issue 9937] CTFE floats don't overflow correctly
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 19 13:26:19 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9937
--- Comment #5 from Walter Bright <bugzilla at digitalmars.com> 2013-04-19 13:26:17 PDT ---
Yes, having a runtime computation be different from a compile time computation
is a potential result of doing floating point math at higher precision at
compile time.
However, this is as designed and is expected.
It is a programming error in D to rely on limited precision. The only time I've
seen legitimate code that relied on limited precision is as part of a test
suite - i.e. not a real application.
--
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