Thread overview
[Issue 13743] floating point inconsistent division by zero
Nov 17, 2014
Don
Nov 17, 2014
Leandro Lucarella
Nov 17, 2014
yebblies
Nov 17, 2014
Don
Nov 18, 2014
Dicebot
Jun 26, 2017
Vladimir Panteleev
November 17, 2014
https://issues.dlang.org/show_bug.cgi?id=13743

--- Comment #1 from Don <clugdbug@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.

--
November 17, 2014
https://issues.dlang.org/show_bug.cgi?id=13743

Leandro Lucarella <leandro.lucarella@sociomantic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |leandro.lucarella@sociomant
                   |                            |ic.com
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=5908

--
November 17, 2014
https://issues.dlang.org/show_bug.cgi?id=13743

yebblies <yebblies@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies@gmail.com

--- Comment #2 from yebblies <yebblies@gmail.com> ---
I can't reproduce with master on win32.  I assume this is with master?

--
November 17, 2014
https://issues.dlang.org/show_bug.cgi?id=13743

Don <clugdbug@yahoo.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |wrong-code

--- Comment #3 from Don <clugdbug@yahoo.com.au> ---
It is happening on linux64. Would be interesting if it turned out to be Linux-only, or 64bit only.

--
November 18, 2014
https://issues.dlang.org/show_bug.cgi?id=13743

--- Comment #4 from Dicebot <public@dicebot.lv> ---
DMD git master, linux. Happens with both -m64 and -m32

--
June 09, 2015
https://issues.dlang.org/show_bug.cgi?id=13743

Andrei Alexandrescu <andrei@erdani.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|D1 & D2                     |D2

--
June 26, 2017
https://issues.dlang.org/show_bug.cgi?id=13743

Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |dlang-bugzilla@thecybershad
                   |                            |ow.net
         Resolution|---                         |DUPLICATE

--- Comment #5 from Vladimir Panteleev <dlang-bugzilla@thecybershadow.net> ---
Fixed in https://github.com/dlang/dmd/pull/3810, so I assume this is a duplicate of 5908.

*** This issue has been marked as a duplicate of issue 5908 ***

--