70dffce551
Doing fexcept_t ex = 0; fesetexceptflag(&ex, excepts); has the effect of _clearing_ all the exceptions in excepts. Using fesetexceptflag doesn't make this easier, because we would have to record which exceptions were already raised. So just set the fflags bits in the fcsr register directly. |
||
---|---|---|
.. | ||
aarch64 | ||
alpha | ||
arm | ||
hppa | ||
i387 | ||
ia64 | ||
m68k | ||
m68060 | ||
mc68881 | ||
mips | ||
powerpc | ||
riscv | ||
sh3 | ||
sparc | ||
sparc64 | ||
vax | ||
x86_64 |