Handbook
Glossary
fp-traps-supported? ( -- ? )
Vocabulary
math
.
floats
.
env
Inputs
None
Outputs
?
a
boolean
Word description
Tests whether the current CPU supports enabling floating-point exception traps. RISC-V accrues exception flags without hardware traps.
Definition
USING:
system
;
IN:
math.floats.env
HOOK:
fp-traps-supported?
cpu
( -- ? )
Methods
USING:
kernel
math.floats.env
;
M:
object
fp-traps-supported?
t
;
USING:
math.floats.env
system
;
M:
riscv.32
fp-traps-supported?
f
;
USING:
math.floats.env
system
;
M:
riscv.64
fp-traps-supported?
f
;