IEEE 64 Bit and Float>>asIEEE32BitWord

Raab, Andreas Andreas.Raab at disney.com
Mon May 29 01:33:31 UTC 2000


Then have a look at

	Float class>>fromIEEE32BitWord:

It takes an unsigned 32bit integer representing the bit pattern for a 32bit
float value and returns an instance of class Float (that is a 64bit value).
In other words:
	Float asIEEE32BitWord
		64bit -> 32bit
	Float class fromIEEE32BitWord:
		32bit -> 64bit
Hope this helps,
  - A.

> -----Original Message-----
> From: Eric Arseneau [mailto:eat at huv.com]
> Sent: Sunday, May 28, 2000 6:03 PM
> To: squeak at cs.uiuc.edu
> Cc: recipient list not shown
> Subject: RE: IEEE 64 Bit and Float>>asIEEE32BitWord
> 
> 
> > Subject: RE: IEEE 64 Bit and Float>>asIEEE32BitWord
> >
> >
> > Hm... not quite sure what you mean by 'a 64 bit version'. Of
> > what?! Perhaps
> > Float class>>fromIEEE32BitWord: helps?!
> >
> >   - Andreas
> 
> I was ambiguous, as I didn't know how to ask what I was asking.
> 
> I believe that what I need is a way to turn a float into the 
> IEEE Double
> format, which is 64 bits instead of the standard 32 bit Float 
> defined by the
> IEEE, which is what the asIEEE32BitWord does
> 





More information about the Squeak-dev mailing list