Fix typo in primitive_docs.rs

This commit is contained in:
Jacob Lifshay 2024-10-05 22:01:02 -07:00 committed by GitHub
parent 85e2f55d82
commit 002afd1ae9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1251,7 +1251,7 @@ mod prim_f16 {}
/// - **Unchanged NaN propagation**: The quiet bit and payload are copied from any input operand
/// that is a NaN. If the inputs and outputs do not have the same size (i.e., for `as` casts), the
/// same rules as for "quieting NaN propagation" apply, with one caveat: if the output is smaller
/// than the input, droppig the low-order bits may result in a payload of 0; a payload of 0 is not
/// than the input, dropping the low-order bits may result in a payload of 0; a payload of 0 is not
/// possible with a signaling NaN (the all-0 significand encodes an infinity) so unchanged NaN
/// propagation cannot occur with some inputs.
/// - **Target-specific NaN**: The quiet bit is set and the payload is picked from a target-specific