vm-error-exception-flag? ( error flag -- ? )
Controlling the floating-point environment

Prev:vm-error>exception-flags ( error -- exceptions )
Next:rounding-mode ( -- mode )


Inputs and outputs
errora floating-point error object from the Factor VM
flaga fp-exception
?a boolean

Word description
When a floating-point trap is raised, the Factor VM reports the trap by throwing a Factor exception containing the exception flags at the time the trap was raised. This word returns a boolean indicating whether the exception flag was raised at the time error was thrown.

See also
fp-traps, with-fp-traps, without-fp-traps, vm-error>exception-flags