Comment #0 by n8sh.secondary — 2019-09-08T16:13:35Z
Making std.math.isIdentical work for real NaN when real is more than 64 bits requires either changing `is` for floats to be a binary comparison (like https://github.com/dlang/dmd/pull/7568) or adding support for CTFE reinterpretation of reals as byte arrays. This is a subissue of Issue #17007.
Comment #1 by n8sh.secondary — 2020-06-06T00:16:16Z
Actually it doesn't require this since in CTFE there is no way to construct a real nan with a payload that would be lost when casting to double.
Comment #2 by dlang-bot — 2020-06-06T01:32:49Z
@n8sh created dlang/phobos pull request #7515 "Make std.math.isIdentical work in CTFE" fixing this issue:
- Fix Issue 20197 - Make std.math.isIdentical work in CTFE
https://github.com/dlang/phobos/pull/7515
Comment #3 by robert.schadek — 2024-12-01T16:35:32Z