If there is no alternative, make function unavailable on Windows 64 bit instead of using a 0 assertion. real nearbyint(real x) @trusted nothrow @nogc { version (CRuntime_Microsoft) { assert(0); // not implemented in C library } else return core.stdc.math.nearbyintl(x); }
Was fixed by https://github.com/dlang/phobos/pull/7360