Comment #1 by n8sh.secondary — 2019-08-23T21:51:52Z
*** Issue 18630 has been marked as a duplicate of this issue. ***
Comment #2 by simen.kjaras — 2019-08-26T08:23:20Z
These functions currently fail in CTFE:
nextPow2/truncPow2: reinterpreting as ushort. (both call same function)
nextDown/nextUp/nextafter: reinterpreting as ulong.
lrint: inline assembly.
ilogb: reinterpreting in union.
cmp: reinterpreting in union.
frexp: reinterpreting as ushort, int and/or long.
feqrel: reinterpreting as ushort.
isNormal: reinterpreting as ushort.
isPowerOf2: reinterpreting as ushort.
NaN: reinterpreting as ulong.
getNaNPayload: reinterpreting as ulong.
isIdentical: reinterpreting as long.
isSubnormal: reinterpreting as uint.
atan/atan2: reinterpreting as ubyte. (both call same function)
signbit: reinterpreting as ubyte.
remainder: intrinsic.
cbrt: intrinsic.
fmod: intrinsic.
modf: intrinsic.
logb: intrinsic.
nearbyint: intrinsic.
rint: intrinsic.
rndtol: intrinsic.
lround: intrinsic.
expi: inline assembly. This function is deprecated.
quantize: depends on rint by default, works with other rounding functions.
Comment #3 by robert.schadek — 2024-12-01T16:28:39Z