Showing results for 
Search instead for 
Did you mean: 

Rebuilding a single precision float from 4 discrete bytes

@chilly charly wrote:
BTW, could somebody try to explain me why extended precision numbers use only 10 bytes. I believed that 12 bytes was the standard.


Have a look at Application note 154. Extendend precision is platform dependent (10 bytes on Windows/Linux (80bit IEEE EXT) and 16 bytes on MAC (Apple double-double format) and Sun (IEEE 128bit EXT).

To keep flattened EXT data platform indepdendent, it is always stored in 128 bit sun EXT format.
0 Kudos
Message 11 of 15
Ha !
At last, that could an objective reason to prefer MacIntosh : to be able to get 14 more decimal digits.
However, on my Powerbook, it seems that the 7 last bytes are alway equal to zero (Extended coded on 9 bytes ???). Should I throw it directly to the garbage ?

Chilly Charly    (aka CC)
0 Kudos
Message 12 of 15
Are you on OS X?
0 Kudos
Message 13 of 15

@altenbach wrote:
Are you on OS X?

yes !!! I have been told that LV7.1 was not running on OS9...
Chilly Charly    (aka CC)
0 Kudos
Message 14 of 15
Altenbach and CC, thanx for clearing up a subject that has been bothering me for a long time.
- tbob

Inventor of the WORM Global
0 Kudos
Message 15 of 15