Skip to content

Commit dcf1772

Browse files
committed
Document default IEEE-754 FP environment assumption for float Widen
Signed-off-by: Will Manning <will@spiraldb.com> Co-Authored-By: Will Manning <will@spiraldb.com>
1 parent d5c48f3 commit dcf1772

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

  • vortex-array/src/arrays/widen

‎vortex-array/src/arrays/widen/mod.rs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
//!
1616
//! A floating-point child has a strictly narrower IEEE-754 type (`f16 < f32 < f64`) and **must
1717
//! not** contain signaling NaNs. [`WidenArray::encode_float`] selects the narrowest type that
18-
//! reproduces every valid value bit-for-bit on widening back, preserving `-0.0` vs `+0.0` and
19-
//! canonical quiet NaNs.
18+
//! reproduces every valid value bit-for-bit on widening back under the default IEEE-754
19+
//! floating-point environment (without DAZ/FTZ flushing `f32` subnormals to zero), preserving
20+
//! `-0.0` vs `+0.0` and canonical quiet NaNs.
2021
//!
2122
//! A decimal child has the logical scale and a lower precision, and **must** be valid for its dtype.
2223
//! Comparisons, bounds checks, and fills use the child dtype to bound its valid values.

0 commit comments

Comments
 (0)