[fpc-devel] FPC doesn't support big equations

Paulo Malheiros paulo.malheiros at fe.up.pt
Wed Mar 31 21:01:30 CEST 2010


Hello,

I need the result of big mathematical expression but apparently FPC  
cannot process it. I've made a simple test program in C and was able  
to get the correct value. In FPC it gives "Invalid floating point  
operation", tested in Windows7 (64bit) with FPC 2.2.4 (32 bit) and  
Ubuntu 9.10 (32bit) with FPC 2.2.4 (32 bit).

http://rapidshare.com/files/370437049/TestFunc.pas
http://rapidshare.com/files/370436993/TestFunc.c

Any idea on how to solve this?

Best regards,
Paulo Malheiros





More information about the fpc-devel mailing list