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