Comment #0 by n8sh.secondary — 2019-09-08T16:19:22Z
This is a subissue of Issue #17007.
Comment #1 by dlang-bot — 2019-09-08T16:50:25Z
@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
Comment #2 by n8sh.secondary — 2019-11-14T19:36:55Z
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.
Comment #3 by dlang-bot — 2019-11-25T08:21:04Z
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