Submitter: J11
Submission Date: 2006/08/01
Source: P. J. Plauger
Reference Document: N1184
Version: 1.3
Date: 2007-10-10
Subject: permit FE_DIVBYZERO when
errno says EDOM
Summary
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.Suggested Technical Corrigendum
Committee Discussion (for history only)
At the fall meeting it was suggested that there need not be a change to 7.12.1. No consensus was reached, leave in open status.
In London the consensus was that no change is required.
Proposed Committee Response
The Standard seems clear, no change is needed.