Skip to content

Commit 10c6d26

Browse files
committed
docs: include blurb regarding subnormal support
1 parent ced123a commit 10c6d26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/draft/design_topics/accuracy.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ including the corresponding element-wise array APIs defined in this standard
2525

2626
for real-valued floating-point operands must return the correctly rounded value according to IEEE 754-2019 and a supported rounding mode. By default, the rounding mode should be ``roundTiesToEven`` (i.e., round to nearest with ties rounded toward the nearest value with an even least significant bit).
2727

28+
IEEE 754-2019 requires support for subnormal (a.k.a., denormal) numbers, which are useful for supporting gradual underflow. However, hardware support for subnormal numbers is not universal, and many platforms (e.g., accelerators) and compilers support toggling denormals-are-zero (DAZ) and/or flush-to-zero (FTZ) behavior to increase performance and to guard against timing attacks. Accordingly, conforming implementations may vary in their support for subnormal numbers.
29+
2830
Mathematical Functions
2931
----------------------
3032

0 commit comments

Comments
 (0)