March 24, 2016 [phobos] [D-Programming-Language/phobos] fd10be: Fix getNaNPayload for 64-bit reals | ||||
---|---|---|---|---|
| ||||
Attachments:
| 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@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@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@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 |
Copyright © 1999-2021 by the D Language Foundation