diff options
| author | LingMan <LingMan@users.noreply.github.com> | 2022-09-10 07:30:29 +0200 |
|---|---|---|
| committer | LingMan <LingMan@users.noreply.github.com> | 2022-09-11 04:13:33 +0200 |
| commit | fd21df7182affbf342f33f97353ee34ee7eb5441 (patch) | |
| tree | cbc0f8950d6c7895700d9a04f0eb67be14c69e8d /library/test/src | |
| parent | 87eb3e2dfad244025bd5ee3161be66c271f691d8 (diff) | |
| download | rust-fd21df7182affbf342f33f97353ee34ee7eb5441.tar.gz rust-fd21df7182affbf342f33f97353ee34ee7eb5441.zip | |
Fix naming format of IEEE 754 standard
Currently the documentation of f64::min refers to "IEEE-754 2008" while the documentation of f64::minimum refers to "IEEE 754-2019". Note that one has the format IEEE,hyphen,number,space,year while the other is IEEE,space,number,hyphen,year. The official IEEE site [1] uses the later format and it is also the one most commonly used throughout the codebase. Update all comments and - more importantly - documentation to consistently use the official format. [1] https://standards.ieee.org/ieee/754/4211/
Diffstat (limited to 'library/test/src')
| -rw-r--r-- | library/test/src/stats.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/test/src/stats.rs b/library/test/src/stats.rs index 40b05704b40..b33b0801261 100644 --- a/library/test/src/stats.rs +++ b/library/test/src/stats.rs @@ -14,7 +14,7 @@ pub trait Stats { /// Sum of the samples. /// /// Note: this method sacrifices performance at the altar of accuracy - /// Depends on IEEE-754 arithmetic guarantees. See proof of correctness at: + /// Depends on IEEE 754 arithmetic guarantees. See proof of correctness at: /// ["Adaptive Precision Floating-Point Arithmetic and Fast Robust Geometric /// Predicates"][paper] /// |
