Thus spoke Lowell C. Savage ([EMAIL PROTECTED]):
> At 12:56 PM 9-19-05, Lowell C. Savage wrote:
> >Has anyone come up with a set of routines for converting between Turbo
> >Pascal's 6-byte "real" format and FPC's real number format?
>
> Well, I found a "Real2Double" function in the System unit t
Reading the previously mentioned page closely I found section that
contains conversion functions.
http://www.merlyn.demon.co.uk/programs/floatval.pas
The procedure EightToSix is probably what you are looking for
Jan
___
fpc-pascal maillist - fpc-p
I think basic reference information you may be looking for is on page
http://www.merlyn.demon.co.uk/pas-type.htm
--
real2double from rtl/inc/genmath.inc
--
function r
What I would still like to see is a "Double2Real" which goes in the
opposite direction of the "Real2Double". That way, I can read the data
from the existing files and then save new data back to the same files. The
loss of precision is not important since the numbers we are using have
limitati
Well, I found a "Real2Double" function in the System unit that converts
from an old TP 6-byte "real" to an 8-byte double. (Guess I should have
looked a little harder, there.) But I'm not seeing anything going the
other way. Anyone?
Thanks,
Lowell
At 12:56 PM 9-19-05, Lowell C. Savage wrote