hello,
i have many DIADEM binary datas in the 6Byte long REAL48 (*.R48) data format. now i wont to read the binary data in with a ANSI-C software programm.
my problem is i've to transalte the Diadem REAL48 dataformat into the 8-Byte long ANSI-C datatype "doube". And I didn't now the strcture of the REAL48 datatype!?
can everyone help me?
(you can answer in german)
--------------------------------------------
Here some samples of ther REAL48 binary data:
Dezimal = binary HEX
-1 = 81 00 00 00 00 80
1 = 81 00 00 00 00 00
-2 = 82 00 00 00 00 80
2 = 82 00 00 00 00 00
-3 = 82 00 00 00 00 C0
3 = 82 00 00 00 00 40
-4 = 83 00 00 00 00 80
4 = 83 00 00 00 00 00
5 = 83 00 00 00 00 20
256 = 89 00 00 00 00 00
257 = 89 00 00 00 00 80
1024 = 8B 00 00 00 00 00
1280 = 8B 00 00 00 00 20
1280 = 8B 00 00 00 20 20