https://issues.dlang.org/show_bug.cgi?id=18245
Issue ID: 18245 Summary: Segfault on std.math.nearbyint Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: ru...@rumbu.ro 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); } --