[squeak-dev] The Inbox: Sound-dtl.67.mcz
Stéphane Rollandin
lecteur at zogotounga.net
Wed Dec 11 11:01:33 UTC 2019
> Interesting tool, I find myself struggling about unexpected fractions
> too often :) Do you think might be interesting for Trunk?
I think so, now I don't know if it should be called #/// (obviously I
got used to that).
I have it implemented in Collection, Float, Number and Point.
> And by the way, is [a / b asFloat] preferable to [a asFloat / b] or [(a
> / b) asFloat]?
(a / b) asFloat is definitely not good, because you get the Fraction
there...
Stef
More information about the Squeak-dev
mailing list
|