[phobos] [D-Programming-Language/phobos] 49d472: Fix Issue 14786 - std.math.pow sometimes gets the...

GitHub via phobos phobos at puremagic.com
Sun Dec 6 00:50:07 PST 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 49d4720e5cc730bad9e265d45050e73d8954999a
      https://github.com/D-Programming-Language/phobos/commit/49d4720e5cc730bad9e265d45050e73d8954999a
  Author: tsbockman <thomas.bockman at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  Fix Issue 14786 -  std.math.pow sometimes gets the sign of the result wrong.


  Commit: 01860999a9bbe04c34a49fdf6021934be2aa0cf8
      https://github.com/D-Programming-Language/phobos/commit/01860999a9bbe04c34a49fdf6021934be2aa0cf8
  Author: tsbockman <thomas.bockman at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  Added static assert documenting the maximum precision for which this fix is valid.


  Commit: 7929a45c1fabbec3e11eb9d7d1077c067b8a1259
      https://github.com/D-Programming-Language/phobos/commit/7929a45c1fabbec3e11eb9d7d1077c067b8a1259
  Author: tsbockman <thomas.bockman at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  Optimized slightly and made the unittests more generic in case real.mant_dig < 64.


  Commit: 4b690ef72fc61e7cdd4f75dcb11ed328fbed31e7
      https://github.com/D-Programming-Language/phobos/commit/4b690ef72fc61e7cdd4f75dcb11ed328fbed31e7
  Author: tsbockman <thomas.bockman at gmail.com>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  Added a slower generic fallback method, in case real.mant_dig > 64.


  Commit: 0816ad6113a950224c50707a3cd77fea29e9b03a
      https://github.com/D-Programming-Language/phobos/commit/0816ad6113a950224c50707a3cd77fea29e9b03a
  Author: Iain Buclaw <ibuclaw at gdcproject.org>
  Date:   2015-12-06 (Sun, 06 Dec 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  Merge pull request #3598 from tsbockman/issue_14786

Fix Issue 14786 -  std.math.pow sometimes gets the sign of the result wrong.


Compare: https://github.com/D-Programming-Language/phobos/compare/0c39d2d341ea...0816ad6113a9


More information about the phobos mailing list