On 8/28/2010 10:24 AM, Philippe Sigaud wrote:
* Accordingly, floor/ceil functions could be interesting, unless you think the user should use std.math.floor(cast(real)rat), which I could understand.
BTW, would you recommend free functions (consistent with std.math and overloadable with std.math after Bug 2972 http://d.puremagic.com/issues/show_bug.cgi?id=2972 gets fixed) or member functions (because that's usually the way you would do something like this if std.math hadn't already set a precedent to be consistent with)?
_______________________________________________ phobos mailing list [email protected] http://lists.puremagic.com/mailman/listinfo/phobos
