View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001967 | 1003.1(2024)/Issue8 | Base Definitions and Headers | public | 2025-12-24 02:57 | 2025-12-24 02:57 |
| Reporter | dannyniu | Assigned To | |||
| Priority | normal | Severity | Editorial | Type | Enhancement Request |
| Status | New | Resolution | Open | ||
| Name | DannyNiu/NJF | ||||
| Organization | |||||
| User Reference | C243.pdf | ||||
| Section | <math.h> | ||||
| Page Number | 331 | ||||
| Line Number | 10541-10554 | ||||
| Interp Status | |||||
| Final Accepted Text | |||||
| Summary | 0001967: <math.h> still references old IEEE-754 standard issued in 1985. | ||||
| Description | Current spec says: <dl> <dd></dd> <dt>HUGE_VAL</dt> <dd>A positive double constant expression, not necessarily representable as a float. Used as an error value returned by the mathematics library. HUGE_VAL evaluates to +infinity on systems supporting IEEE Std 754-1985.</dd> <dt>HUGE_VALF</dt> <dd>A positive float constant expression. Used as an error value returned by the mathematics library. HUGE_VALF evaluates to +infinity on systems supporting IEEE Std 754-1985.</dd> <dt>HUGE_VALL</dt> <dd>A positive long double constant expression. Used as an error value returned by the mathematics library. HUGE_VALL evaluates to +infinity on systems supporting IEEE Std 754-1985.</dd> <dt>INFINITY</dt> <dd>A constant expression of type float representing positive or unsigned infinity, if available; else a positive constant of type float that overflows at translation time.</dd> <dt>NAN</dt> <dd>A constant expression of type float representing a quiet NaN. This macro is only defined if the implementation supports quiet NaNs for the float type.</dd> </dl> which made reference to the older floating point standard published in 1985, when a revised IEEE-754-2019 is available. | ||||
| Desired Action | Because the next revision is underway, along side C2Y, this report does not request immediate action, the reporter desire that once IEEE-754-202X (equiv: ISO/IEC-60559-202X) is published, new text be incorporated. | ||||
| Tags | No tags attached. | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2025-12-24 02:57 | dannyniu | New Issue |