Thread overview
[Issue 20198] Make std.math.nextUp and nextDown and nextafter work in CTFE for float and double
[Issue 20198] Make std.math.nextUp and nextDown and nextafter work in CTFE
Sep 08, 2019
Nathan S.
Sep 08, 2019
Dlang Bot
Nov 14, 2019
Nathan S.
Nov 14, 2019
Nathan S.
Nov 25, 2019
Dlang Bot
Nov 19, 2020
Nathan S.
September 08, 2019
https://issues.dlang.org/show_bug.cgi?id=20198

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |17007
            Summary|Make std.math.nextUp and    |Make std.math.nextUp and
                   |nextDown work in CTFE       |nextDown and nextafter work
                   |                            |in CTFE


Referenced Issues:

https://issues.dlang.org/show_bug.cgi?id=17007
[Issue 17007] let std.math work in CTFE
--
September 08, 2019
https://issues.dlang.org/show_bug.cgi?id=20198

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@n8sh created dlang/phobos pull request #7176 "Fix Issue 20198 - Make std.math.nextUp and nextDown and nextafter work in CTFE" fixing this issue:

- Fix Issue 20198 - Make std.math.nextUp and nextDown and nextafter work in CTFE

https://github.com/dlang/phobos/pull/7176

--
November 14, 2019
https://issues.dlang.org/show_bug.cgi?id=20198

--- Comment #2 from Nathan S. <n8sh.secondary@hotmail.com> ---
For now I will restrict the solution to 64 bit and 32 bit floats. Making nextUp/nextDown work for extended precision reals in CTFE is difficult because some D compilers interally use 64 bit precision for CTFE real calculations even though the target has extended precision reals. This specifically happens in the FreeBSD_32 and FreeBSD_64_64 tests in the CI suite.

--
November 14, 2019
https://issues.dlang.org/show_bug.cgi?id=20198

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Make std.math.nextUp and    |Make std.math.nextUp and
                   |nextDown and nextafter work |nextDown and nextafter work
                   |in CTFE                     |in CTFE for float and
                   |                            |double

--
November 25, 2019
https://issues.dlang.org/show_bug.cgi?id=20198

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #7176 "Fix Issue 20198 - Make std.math.nextUp and nextDown and nextafter work in CTFE for float and double" was merged into master:

- c62d4c958978b79f150023dad387332290bc76c2 by Nathan Sashihara:
  Fix Issue 20198 - Make std.math.nextUp and nextDown and nextafter work in
CTFE for float and double

https://github.com/dlang/phobos/pull/7176

--
November 19, 2020
https://issues.dlang.org/show_bug.cgi?id=20198

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://issues.dlang.org/sh
                   |                            |ow_bug.cgi?id=21408

--