blob: 92421d4462f20d08abda75d2304f3d7d81eebc3c (
plain) (
blame)
1
2
3
4
5
6
7
8
|
# Test new floating point exceptions
{.floatChecks: on.}
var x = 0.0
var y = 0.0
echo x / y #OUT Error: unhandled exception: FPU operation caused a NaN result [EFloatInvalidOp]
|