[fpc-pascal] math with infinity and NaN

Adriaan van Os fpc at microbizz.nl
Wed Jun 20 10:59:57 CEST 2018


James Richters wrote:
> 
> 
> I’ve been updating my old programs to use the MATH unit in freepascal 
> and while testing things I came across a runtime error 217  Invalid 
> floating point operation.  Here is my test program

I suggest to file a bug report. It is very unfortunate that the Math unit doesn't conform to IEEE-758.

Regards,

Adriaan van Os




More information about the fpc-pascal mailing list