diff options
| author | Pyry Kontio <pyry.kontio@drasa.eu> | 2022-03-31 18:50:14 +0900 |
|---|---|---|
| committer | Pyry Kontio <pyry.kontio@drasa.eu> | 2022-03-31 18:50:14 +0900 |
| commit | 7175c499ecc32cb3ff713be0bbac9fd12990a34e (patch) | |
| tree | 0d2e6dcb3bce63f9ee66242b1c732d2db9473a61 | |
| parent | 21f1037c5846f1c796699dcbc2cdf38c663210e1 (diff) | |
| download | rust-7175c499ecc32cb3ff713be0bbac9fd12990a34e.tar.gz rust-7175c499ecc32cb3ff713be0bbac9fd12990a34e.zip | |
match std f32 primitive docs to core f32 primitive docs
| -rw-r--r-- | library/std/src/primitive_docs.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/library/std/src/primitive_docs.rs b/library/std/src/primitive_docs.rs index ab4bb0f2669..ac4e668112b 100644 --- a/library/std/src/primitive_docs.rs +++ b/library/std/src/primitive_docs.rs @@ -989,8 +989,9 @@ mod prim_tuple {} /// is deviated from. /// - Lastly, there are multiple bit patterns that are considered NaN. /// Rust does not currently guarantee that the bit patterns of NaN are -/// preserved over arithmetic operations, -/// so there may be some surprising results upon inspecting the bit patterns, +/// preserved over arithmetic operations, and they are not guaranteed to be +/// portable or even fully deterministic! This means that there may be some +/// surprising results upon inspecting the bit patterns, /// as the same calculations might produce NaNs with different bit patterns. /// /// For more information on floating point numbers, see [Wikipedia][wikipedia]. |
