f.couperin wrote:
Sorry, I discovered a serious bug. The two smallest subnormal numbers (of 12 bytes LongReal type) cannot be written ; the program hangs and can't be stopped with CTRL+C. :-(
Well, the latter is certainly a bug^Wfeature of the OS (-; the program doesn't block or ignore any signals, so it should be stopped with CTRL-C, but Dos has always had problems with this ...). The former is a GPC bug. I'm fixing it (will be uploaded soon, version 20010409). Frank PS:
{$ifdef __BYTES_BIG_ENDIAN__} For N := 1 To LongRealSize Do Write(Byte2Hex(Abis[N])); {$else} For N := LongRealSize DownTo 1 Do Write(Byte2Hex(Abis[N])); {$endif}
Is the floating point representation really dependent on the (integer) endianness -- at least for IEEE floats (I'm not sure). Anyone knows? -- Frank Heckenbach, frank@g-n-u.de, http://fjf.gnu.de/ GPC To-Do list, latest features, fixed bugs: http://agnes.dida.physik.uni-essen.de/~gnu-pascal/todo.html