set-fp-exception-flags ( exceptions -- )
Controlling the floating-point environment

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


Vocabulary
math.floats.env

Inputs
exceptionsa sequence of fp-exceptions


Outputs
None

Word description
Replaces the set of floating-point exception flags with the set specified in exceptions.

Notes
On Intel platforms, the legacy x87 floating-point unit does not support setting exception flags, so this word only clears the x87 exception flags. However, the SSE unit's flags are set as expected.

See also
fp-exception-flags, clear-fp-exception-flags, collect-fp-exceptions

Definition