On 10/30/2016 09:45 AM, stepharo wrote:

I'm favor to deprecate round:  too.

Thanks you all for your analysis. I will reread the thread carefully to learn.

Hi Stephane,

just to sum up my arguments:
1. Floats & Fractions represent almost the same thing, hence they should have the same API! iow if Float>>round: is deprecated it should imo also be deprecated in Fractions. and i dont see what is gained by generally deprecating every #round: (eg i like to use it). if it is because you want to have a small image, i'd guess, one could put ScaledDecimal in its own package (as long as there are no dependencies of numbers on it introduced) and have an image without that. the memory gain would be bigger & imo the usability loss smaller. 2. most decimals are not representable as Floats. Ok, so what? pi is not representable too, you dont deprecate Float>>pi because of that, right?

werner

Reply via email to