Updates:
        Status: FixProposed

Comment #1 on issue 3429 by [email protected]: Better Number performance
http://code.google.com/p/pharo/issues/detail?id=3429

Name: SLICE-Issue-3429-BetterNumberPerformance-nice.1
Dependencies: Kernel-nice.852

Integrate Levente's fast up (Fraction negative and SmallInteger printOn:)
For ScaledDecimal, this is different, because they are printed rounded in Pharo, truncated in Squeak.

BTW, Pharo version was wrong (shame on me) because rounded fractionPart can overflow and this was not taken into account (try 1.999s2 printString -> Error)
So for the same SLICE, you got a patch.

TODO: someone might want to add a non regression test for 1.999s2 printString = '2.00s2'
And also test -1.999s2 printString = '-2.00s2'


Reply via email to