Submitter:Fred Tydeman
Submission Date: 2020-03-20
Document: WG14 N2506
Reference Documents:


The standard has a few incorrect, missing, or ambiguous statements about range errors in some of the math functions.

Does "too large" mean close to +infinity or +/-infinity?

Does "too small" mean close to -infinity or +/-zero?

Implementers have interpreted these terms differently.

Some implementations incorrectly treat f(infinity) as a range error based upon the text: A range error occurs if [the magnitude of] x is too large. While this is covered by 7.12.1#5 about overflows, the CFP group believes it is better to be explicit in each math function where it matters.

Possible Technical Corrigendum: