[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-smalltalk] Float printString?
From: |
Paolo Bonzini |
Subject: |
Re: [Help-smalltalk] Float printString? |
Date: |
Wed, 6 Jul 2016 14:32:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 |
On 06/07/2016 12:40, Robert Kuszinger wrote:
> Dear Holger,
>
> thanks for your comment.
> The inspect is here, whatever it means..
>
> An instance of FloatD
> [1]: 224
> [2]: 221
> [3]: 240
> [4]: 122
> [5]: 184
> [6]: 184
> [7]: 41
> [8]: 191
I cannot reproduce this:
st> (99-110.0)/56053.86243369161
-0.0001962398222426215
st> FloatD fromBytes: #[191 41 184 184 122 240 221 224]
-0.0001962399669268441
st> 2 raisedToInteger: (-0.00019623982224262149) exponent -
(-0.00019623982224262149) class precision + 1
1/36893488147419103232
(It's -65 not -67 by the way).
I agree with Holger, probably you're compiling without GMP.
Paolo