Handbook
Glossary
without-fp-traps ( quot -- )
Controlling the floating-point environment
Prev:
with-fp-traps ( exceptions quot -- )
Next:
vm-error>exception-flags ( error -- exceptions )
Vocabulary
math
.
floats
.
env
Inputs
quot
a
quotation
Outputs
None
Word description
Disables all floating-pointer processor traps for the dynamic extent of
quot
, restoring the original exception mask on
quot
's completion.
See also
fp-traps
,
with-fp-traps
,
vm-error>exception-flags
,
vm-error-exception-flag?
Definition
USING:
kernel
;
IN:
math.floats.env
:
without-fp-traps
( quot -- )
{
}
swap
with-fp-traps
;
inline