[fpc-pascal] Nan values SIGFPE exception on 64 bit

Birger Jansen birger at cnoc.nl
Fri Nov 26 10:45:43 CET 2010


> It should cause an exception everywhere by default (it does on PowerPC  
> 32 bit). You have to use math.setexceptionmask if you want to mask  
> exceptions for invalid floating point operations: 
> http://www.freepascal.org/docs-html/rtl/math/setexceptionmask.html

Thanks, that fixed my problem. Strange though that the test program runs without problems on Win32 and in Delphi.

Kind regards,
  Birger



More information about the fpc-pascal mailing list