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);
}
Comment #1 by n8sh.secondary — 2020-09-12T05:20:53Z