David Simcha <[email protected]> wrote:
(1) Add two necessary functions to std.math:
// Rounds x to the nearest int or long using the currently selected
rounding mode
// (MUCH faster than cast(int)).
Why isn't this the default, i.e. why doesn't cast(int) do this?
Second this. If it's not so complex Walter can't possibly understand it,
or it may cause bees to spurt from your floppy drive, it sounds like
what cast(int) should do.
--
Simen
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos