[phobos] Rational for review

David Simcha dsimcha at gmail.com
Sat Aug 28 11:47:48 PDT 2010


  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)?



More information about the phobos mailing list