Decimal sign operations #
IEEE 754-2019 §5.5.1 specifies bit operations, including on noncanonical
representations. Bits.copy, negate, abs, and copySign preserve every bit
below the sign. They neither quiet signaling NaNs nor report exceptions.
The corresponding datum operations retain the quantum and NaN metadata.
Read the sign, including the sign of a zero or NaN.
Instances For
Replace just the sign, without quieting a signaling NaN.
Instances For
Copy a complete datum. Stored-word copying is Bits.copy.
Instances For
Clear the sign, including on zeros and NaNs.
Instances For
Preserve the first datum except for the sign supplied by the second.