about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-02-12 10:46:42 +0100
committerGitHub <noreply@github.com>2025-02-12 10:46:42 +0100
commit40f04999f5e0ad82a588af284bdf63b0454dfeb0 (patch)
tree6201f323dd4b2270b1fa1c27210d3daf99bff431
parent29c61d31aa3c29dc6ec0cf6e1d928fbd93683908 (diff)
parent4f37b458fc729c1f8b992cdda9f62f6b944b4106 (diff)
downloadrust-40f04999f5e0ad82a588af284bdf63b0454dfeb0.tar.gz
rust-40f04999f5e0ad82a588af284bdf63b0454dfeb0.zip
Rollup merge of #136915 - eyelash:float-precision, r=workingjubilee
documentation fix: `f16` and `f128` are not double-precision
-rw-r--r--library/std/src/f128.rs2
-rw-r--r--library/std/src/f16.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/f128.rs b/library/std/src/f128.rs
index 89612fa7475..cff0bf4ccf4 100644
--- a/library/std/src/f128.rs
+++ b/library/std/src/f128.rs
@@ -1,4 +1,4 @@
-//! Constants for the `f128` double-precision floating point type.
+//! Constants for the `f128` quadruple-precision floating point type.
 //!
 //! *[See also the `f128` primitive type](primitive@f128).*
 //!
diff --git a/library/std/src/f16.rs b/library/std/src/f16.rs
index cc523c93b4d..f6a553b1d0f 100644
--- a/library/std/src/f16.rs
+++ b/library/std/src/f16.rs
@@ -1,4 +1,4 @@
-//! Constants for the `f16` double-precision floating point type.
+//! Constants for the `f16` half-precision floating point type.
 //!
 //! *[See also the `f16` primitive type](primitive@f16).*
 //!