[phobos] [D-Programming-Language/phobos] fd10be: Fix getNaNPayload for 64-bit reals

GitHub via phobos phobos at puremagic.com
Thu Mar 24 02:07:02 PDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: fd10beb59c3259662359124bf14a53d16434cbdf
      https://github.com/D-Programming-Language/phobos/commit/fd10beb59c3259662359124bf14a53d16434cbdf
  Author: Dan Olson <danole at comcast.net>
  Date:   2016-03-19 (Sat, 19 Mar 2016)

  Changed paths:
    M std/math.d

  Log Message:
  -----------
  Fix getNaNPayload for 64-bit reals

Shift was off-by-one.


  Commit: b938a746281a862a69eebb8e22374393d0bb77e4
      https://github.com/D-Programming-Language/phobos/commit/b938a746281a862a69eebb8e22374393d0bb77e4
  Author: Dan Olson <danole at comcast.net>
  Date:   2016-03-19 (Sat, 19 Mar 2016)

  Changed paths:
    M std/internal/math/errorfunction.d

  Log Message:
  -----------
  Fix NaN payload unittest in errorfunction

For some platforms, math on a NaN may change the sign.  This is
ok according to C99.  Replaced with test that ignores signbit.


  Commit: 708c5d8e6ddd9245f793e4b8761382672225f271
      https://github.com/D-Programming-Language/phobos/commit/708c5d8e6ddd9245f793e4b8761382672225f271
  Author: Rainer Schuetze <r.sagitario at gmx.de>
  Date:   2016-03-24 (Thu, 24 Mar 2016)

  Changed paths:
    M std/internal/math/errorfunction.d
    M std/math.d

  Log Message:
  -----------
  Merge pull request #3976 from smolt/erf-nan-payload-unittest

Fix NaN payload unittest in errorfunction


Compare: https://github.com/D-Programming-Language/phobos/compare/23a1a0a1b12c...708c5d8e6ddd


More information about the phobos mailing list