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

Žilvinas Ledas zilvinas.ledas at dict.lt
Wed Mar 31 21:25:47 CEST 2010


> 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
>
It works for me using FPC from SVN (~7 days old) on Win7. The printed 
result is: -7.96011734923075E+001.
I guess you need to update your FPC.


Regards,
Žilvinas Ledas



More information about the fpc-devel mailing list