[squeak-dev] Float storage as Double?
asqueaker at gmail.com
Wed Apr 28 18:44:36 UTC 2010
Hi Randal, since I don't want you to be tweaked at me, I just wanted
to clarify that I think you must've mistaken me for someone else.. I
have not been in squeak irc chat for years..
On Mon, Apr 26, 2010 at 2:53 PM, Randal L. Schwartz
<merlyn at stonehenge.com> wrote:
>>>>>> "Chris" == Chris Muller <asqueaker at gmail.com> writes:
> Chris> Hi Levente, it does? Does that mean that (Float fromIEEE32Bit:
> Chris> myFloat asIEEE32BitWord) loses information? What would be a more
> Chris> precise method of serialization then?
> You know, if you aren't going to pay attention to what I was saying
> in the #squeak channel, why were you even asking.
> I *said* this to you. I said "looks like Float is 64 bit, and
> FloatArray is 32..Maybe mandel is storing things in FloatArray and
> that's where you're getting your truncation from, and if so one way out
> of that would be to use real Array instead of FloatArray"
> I'm slightly tweaked that you ignored that, and you're now at the same
> place two days later.
> I also told you that Mandel is always a myth, because the point at which
> the powers exceed 2 depends very much (butterfly effect-ish) on the
> precision of the representation. A version with 48-bit mantissas will
> look different than one with 24-bit mantissas, and different again from
> one with 100-bit mantissas.
> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
> <merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
> Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
> See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion
More information about the Squeak-dev