Re: Float printString?

Paolo Bonzini <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.