FE_DIVBYZERO
when
errno
says EDOM
Regarding 7.12.1 para 2,
which says that if bothThe purpose of this document is to initiate a formal potential defect report to request thaterrno
and fp exceptions are used, and if a domain error occurs, thenerrno
getsEDOM
and the fp exception isFP_INVALID
:
FE_DIVBYZERO
can
also be acceptable here.