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 thaterrnoand fp exceptions are used, and if a domain error occurs, thenerrnogetsEDOMand the fp exception isFP_INVALID:
FE_DIVBYZERO can
also be acceptable here.