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 limitations on their precision that are the limiting factor (they could probably be "singles" without any trouble--except that then they wouldn't be compatible with the data files. And performance isn't really an issue since I'll do any calculations as doubles (native on x86 platform).
Thanks,
Lowell
Florian Klaempfl wrote, in part:
Show quoted text 6 lines
Thanks. My apologies for not finding it earlier myself.
Show quoted text 6 lines
I would like it to have the same effect whether compiled under Turbo Pascal 5.5 or under FPC. In both cases, it should write out a 12-byte file. I don't mind if I have to put in a bunch of ifdefs to define "real48" and dummy "Double2Real" functions for TP or some such and redo the assignments to call "Double2Real". In other words, the code can change--but the data (and data format) is forever. :-)
Show quoted text 5 lines
Heavens no! I don't want to do !!CALCULATIONS!! with the 6-byte reals. I just want to be able to read and store them in the existing files.
Show quoted text 22 lines
Lowell C. Savage
505-667-6964 (office/msg)
360-961-8965 (cell/msg)
505-667-4341 (shared fax)
