collect-fp-exceptions ( quot -- exceptions )
Controlling the floating-point environment

Prev:clear-fp-exception-flags ( -- )
Next:fp-traps ( -- exceptions )


Vocabulary
math.floats.env

Inputs
quota quotation


Outputs
exceptionsa sequence of fp-exceptions


Word description
Clears the floating-point exception flags and then calls quot, returning the set of floating-point exceptions raised during its execution and placing them on the datastack on quot's completion.

See also
fp-exception-flags, set-fp-exception-flags, clear-fp-exception-flags

Definition