http://d.puremagic.com/issues/show_bug.cgi?id=7455
--- Comment #9 from Martin Nowak <[email protected]> 2013-10-30 11:55:13 PDT --- (In reply to comment #8) > Programs that rely on a maximum accuracy need to be rethought. > It's more like programs that rely on a defined precision. When I write cast(float)a == cast(float)b then I want to compare two numbers that have been converted to floats. I understand your point that if 32-bit floats were no longer supported by a CPU we'd have troubles to implement this, but D defines a native float type with specified precision. Also C99 added a rule that casts and assignments are not allowed to use higher precision. http://stackoverflow.com/questions/503436/how-to-deal-with-excess-precision-in-floating-point-computations#answer-503523 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
