John Ollason wrote:
Greetings,
I am running GPC under RedHat 7.3 on an Intel i686. I am trying to debug a MatLab program by running it against one written in Gnu Pascal. I am using the type longreal throughout. According to the manual this typically occupies 80 bits. Is there any way of finding out easily how long longreal is on my hardware?
WriteLn (BitSizeOf (LongReal)) On i686 it will be 80 bits. Actually, the statement outputs 96 -- I think the size is rounded up internally, so values can, e.g., be moved in 3 32 bit registers. But only 80 bits are actually used. Frank -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/, 7977168E GPC To-Do list, latest features, fixed bugs: http://www.gnu-pascal.de/todo.html GPC download signing key: 51FF C1F0 1A77 C6C2 4482 4DDC 117A 9773 7F88 1707