I have the challenge of loading data out of a file that was created by a Borland Pascal (v7) program. The file was a typed file, and had Records written to it, some of the fields of which are of type "real".
I stumbled on thread935-574230 through Google, and thought someone here might be able to help.
Basically, I need to interpret the binary Real value and recalculate it into a number I can use.
So far I've determined a Real is 6 bytes long (48bits). I found this page:
Which helps a little, but only addresses 32bit and 64bit reals... (plus, I have to admit, I haven't yet determined exactly what to do with the mantissa, exponent and remainder...)
I stumbled on thread935-574230 through Google, and thought someone here might be able to help.
Basically, I need to interpret the binary Real value and recalculate it into a number I can use.
So far I've determined a Real is 6 bytes long (48bits). I found this page:
Which helps a little, but only addresses 32bit and 64bit reals... (plus, I have to admit, I haven't yet determined exactly what to do with the mantissa, exponent and remainder...)