enumerate the two parts of the NaN rules
This commit is contained in:
parent
08fadfd8d8
commit
f6b7727605
@ -1235,8 +1235,9 @@ mod prim_f16 {}
|
||||
/// operations are guaranteed to exactly preserve the bit pattern of their input except for possibly
|
||||
/// changing the sign bit.
|
||||
///
|
||||
/// The following rules apply when a NaN value is returned from an arithmetic operation: the result
|
||||
/// has a non-deterministic sign. The quiet bit and payload are non-deterministically chosen from
|
||||
/// The following rules apply when a NaN value is returned from an arithmetic operation:
|
||||
/// - The result has a non-deterministic sign.
|
||||
/// - The quiet bit and payload are non-deterministically chosen from
|
||||
/// the following set of options:
|
||||
///
|
||||
/// - **Preferred NaN**: The quiet bit is set and the payload is all-zero.
|
||||
|
Loading…
Reference in New Issue
Block a user