On Wed, 17 Nov 2010 22:09:10 +0100 Don Clugston <[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)). > int rndint(real x) > long rndlong(real x) Please use full words when abbr is not absolutely obvious and/or the gain in typing is small (esp for rarely used functions). The functions above may return random int and real, respectively. (also sgngamma --> signgamma) Denis -- -- -- -- -- -- -- vit esse estrany ☣ spir.wikidot.com _______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
