LabVIEW

cancel
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.

CC




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
(711 Views)
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 ?

CC
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
0 Kudos
Message 12 of 15
(533 Views)
Are you on OS X?
0 Kudos
Message 13 of 15
(528 Views)


@altenbach wrote:
Are you on OS X?


yes !!! I have been told that LV7.1 was not running on OS9...
CC
Chilly Charly    (aka CC)

         E-List Master - Kudos glutton - Press the yellow button on the left...
        
0 Kudos
Message 14 of 15
(520 Views)
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
(514 Views)