Defect Report #415

Previous Defect Report < - > Next Defect Report


Submitter: Seacord (PL22.11)
Submission Date: 2012-06-02
Source: WG14
Reference Document: N1617
Version: 1.1
Date: April 2013
Subject: Missing divide by zero entry in Annex J

Summary

The undefined behavior defined in paragraph 6 of 6.5.5 is missing in J.2 and should be added.

Suggested Technical Corrigendum

Add a bullet with the following text to J.2 after bullet 45

If the quotient a/b is not representable, the behavior of both a/b and a%b is undefined (6.5.5).

Oct 2012 meeting

Committee Discussion

Adopt the Suggested Technical Corregendum as proposed.

Proposed Technical Corrigendum

Add a bullet with the following text to J.2 after bullet 45

If the quotient a/b is not representable, the behavior of both a/b and a%b is undefined (6.5.5).


Previous Defect Report < - > Next Defect Report