[fpc-pascal] math with infinity and NaN
Adriaan van Os
fpc at microbizz.nl
Thu Jun 21 22:45:19 CEST 2018
gtt at wolfgang-ehrhardt.de wrote:
>
> Zitat von Adriaan van Os <fpc at microbizz.nl>:
>> Even with masked exceptions, runtime errors are produced in the Math
>> unit. That is not conformant to the standard.
>
> Even with masked exInvalidOp? Can you give an example?
Math.power with a negative base would except, even with masked exceptions. That was with fpc-2.6.4.
I can't reproduce it anymore with fpc-3.0.4, so it seems to be fixed.
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list