A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2506.htm below:

Range errors and math functions


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

Summary

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:


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4