(There's a lot of custom assembler code) So there are already community-driven projects out there, e.g. https://code.dlang.org/packages/ctstdmath
*** Issue 18630 has been marked as a duplicate of this issue. ***
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.
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10217 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB