You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ISA-specific implementations aren't setting errno == EDOM on negative, non-zero numbers.
The generic implementation and the sqrt_80_bit_long_double generic implementation do not set EDOM or raise FE_INVALID.
Potential fixes:
Fixes for the generic implementation seem straight forward.
I can add a check that the argument is less than zero before the asm sqrt insn in the ISA-specific impls; I would guess the best way to do this is with FPBits to avoid changing FP flags/exceptions?