Make std.math.isIdentical work in CTFE · Issue #10386 · dlang/phobos (original) (raw)

n8sh.secondary reported this on 2019-09-08T16:13:35Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=20197

Description

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.