[phobos] [D-Programming-Language/phobos] 608ff9: Fix failing unittest due to double imprecision.

GitHub via phobos phobos at puremagic.com
Thu Feb 19 12:15:57 PST 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 608ff995afe40fcf7aa147af2c4b758a14a5784c
      https://github.com/D-Programming-Language/phobos/commit/608ff995afe40fcf7aa147af2c4b758a14a5784c
  Author: Kevin Brogan <kevin at brogan.ca>
  Date:   2015-02-17 (Tue, 17 Feb 2015)

  Changed paths:
    M std/csv.d

  Log Message:
  -----------
  Fix failing unittest due to double imprecision.

Modified double comparison from

    a == b

to

    abs(a-b) < epsilon


  Commit: 1ff5a14042d6f8bdf7a490740289f413db67390f
      https://github.com/D-Programming-Language/phobos/commit/1ff5a14042d6f8bdf7a490740289f413db67390f
  Author: Robert Schadek <robert.schadek at informatik.uni-oldenburg.de>
  Date:   2015-02-19 (Thu, 19 Feb 2015)

  Changed paths:
    M std/csv.d

  Log Message:
  -----------
  Merge pull request #2998 from KevinBrogan/KevinBrogan-std.csv-patch

Fix std.csv assertion (float comparison for equal)


Compare: https://github.com/D-Programming-Language/phobos/compare/320a7b4bd3bd...1ff5a14042d6


More information about the phobos mailing list