[dmd-internals] [D-Programming-Language/dmd] a8ffc8: Fix issue 7546 64-bit floating-point issue with ne...

GitHub noreply at github.com
Fri May 11 19:01:25 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: a8ffc8ab60aa3e1ae965e5764f0900e14a0881c1
      https://github.com/D-Programming-Language/dmd/commit/a8ffc8ab60aa3e1ae965e5764f0900e14a0881c1
  Author: Don Clugston <don.clugston at sociomantic.com>
  Date:   2012-05-11 (Fri, 11 May 2012)

  Changed paths:
    M src/backend/cod1.c
    M test/runnable/test22.d

  Log Message:
  -----------
  Fix issue 7546 64-bit floating-point issue with negative zero: -0.0 == 0.0 is false

Just duplicate the code for float == float.


  Commit: 20d96667c9ef84b124e21890c499920137731c12
      https://github.com/D-Programming-Language/dmd/commit/20d96667c9ef84b124e21890c499920137731c12
  Author: Walter Bright <walter at walterbright.com>
  Date:   2012-05-11 (Fri, 11 May 2012)

  Changed paths:
    M src/backend/cod1.c
    M test/runnable/test22.d

  Log Message:
  -----------
  Merge pull request #940 from donc/wrongcode7546_64bit

 7546 64-bit floating-point issue with negative zero: -0.0 != 0.0


Compare: https://github.com/D-Programming-Language/dmd/compare/c4c0bf3...20d9666


More information about the dmd-internals mailing list