[Issue 1722] std.math.nextafter: nextafterl does not exist on Windows
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Sun Dec 9 16:19:54 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1722
------- Comment #2 from wbaxter at gmail.com 2007-12-09 18:19 -------
These NotImplemented exceptions should really be compile time errors.
People don't generally expect their to-the-metal math libraries to throw
exception objects around, they aren't even documented as doing such, and
finally it would be a very unpleasant surprise to find out too late that some
code compiled into your rocket launcher that tested out fine on linux throws
exceptions on critical but seldom-run functions. Ok, you should test, but my
point is that the functions know their unconditionally useless on anything but
Linux, so they should tell you that as soon as possible, i.e. at compile time.
--
More information about the Digitalmars-d-bugs
mailing list