[squeak-dev] Float differences
Sven Van Caekenberghe
sven at beta9.be
Wed Apr 25 20:38:40 UTC 2012
Bert,
On 25 Apr 2012, at 22:28, Bert Freudenberg wrote:
> If you use storeString instead of asString it will be the same. E.g.
>
> (10 raisedTo: -100) asFloat storeString
> ==> '1.0e-100'
Strange, Float>>#printOn:base: uses #absPrintOn:base: in Squeak, while it uses #absPrintExactlyOn:base: in Pharo.
Did Squeak make that choice for speed reasons then ?
Sven
More information about the Squeak-dev
mailing list
|