[Issue 13743] floating point inconsistent division by zero

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Nov 17 03:25:01 PST 2014


https://issues.dlang.org/show_bug.cgi?id=13743

--- Comment #1 from Don <clugdbug at yahoo.com.au> ---
This seems related to bug 5908. The fix there did not fix all of the issues
with division by zero.

This is not a regression, though. The bug applied also to DMD 2.063.

x/0 is NaN only if x is 0.0 or infinity. Otherwise the result should be
+-real.infinity.

--


More information about the Digitalmars-d-bugs mailing list