[phobos] [D-Programming-Language/phobos] a514ac: std.math: refactor feqrel() incl. subnormal fix

GitHub via phobos phobos at puremagic.com
Tue May 19 11:49:15 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: a514ac9686148578ce8815e3af564c6209408adf
      https://github.com/D-Programming-Language/phobos/commit/a514ac9686148578ce8815e3af564c6209408adf
  Author: Martin <noone at nowhere.com>
  Date:   2015-05-17 (Sun, 17 May 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  std.math: refactor feqrel() incl. subnormal fix

For subnormal diffs, the old code used the whole ushort containing
the exponent bits as exponent, without masking and shifting. This
seems to have worked for 80-bit reals so far and the single unit-
test was only enabled for x87 reals.


  Commit: 70e5e942a0e03745edbea705b03f5d7522931cee
      https://github.com/D-Programming-Language/phobos/commit/70e5e942a0e03745edbea705b03f5d7522931cee
  Author: Martin <noone at nowhere.com>
  Date:   2015-05-17 (Sun, 17 May 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  std.math: proper support for 64-bit real in exp()


  Commit: e8f1e6b41120dcdbe34f997d5e88f3fa80e7e37d
      https://github.com/D-Programming-Language/phobos/commit/e8f1e6b41120dcdbe34f997d5e88f3fa80e7e37d
  Author: Walter Bright <walter at walterbright.com>
  Date:   2015-05-19 (Tue, 19 May 2015)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  Merge pull request #3285 from kinke/exp

std.math: proper support for 64-bit real in exp()


Compare: https://github.com/D-Programming-Language/phobos/compare/c8c5a3255def...e8f1e6b41120


More information about the phobos mailing list