Skip to content

Commit 8295817

Browse files
committed
Add statement differentiating clause 5 and 9
1 parent 1b1ebde commit 8295817

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/modules/ROOT/pages/design.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ None of these functions meet the definition of correctly rounded (which would im
3434
From the https://www.netlib.org/misc/intel/README.txt[Intel libdfp README]: "binary floating-point mathematical functions
3535
implemented for example in C or other compiler math libraries are in general
3636
not correctly rounded either".
37+
Technically IEEE 754 differentiates the specification for mandatory operations (e.g. `fma`, `sqrt`, etc.) in Clause 5, and recommended operations (e.g. `exp`, `log`, etc.) in Clause 9, but our statement about half ULP precision applies to all non-boolean result `<cmath>` functions.
38+
This does not apply to Clause 5 functions like `isnan` which has a boolean result because ULP precision does not apply.
3739

3840
=== Floating Point Exception Flags are not Supported
3941

0 commit comments

Comments
 (0)