@@ -1130,8 +1130,8 @@ impl (T,) {} |
|
|
1130 |
1130 |
/// A 16-bit floating point type (specifically, the "binary16" type defined in IEEE 754-2008). |
1131 |
1131 |
/// |
1132 |
1132 |
/// This type is very similar to [`prim@f32`] but has decreased precision because it uses half as many |
1133 |
|
-/// bits. Please see [the documentation for `f32`](prim@f32) or [Wikipedia on |
1134 |
|
-/// half-precision values][wikipedia] for more information. |
|
1133 |
+/// bits. Please see [the documentation for `f32`](prim@f32) or [Wikipedia on half-precision |
|
1134 |
+/// values][wikipedia] for more information. |
1135 |
1135 |
/// |
1136 |
1136 |
/// Note that most common platforms will not support `f16` in hardware without enabling extra target |
1137 |
1137 |
/// features, with the notable exception of Apple Silicon (also known as M1, M2, etc.) processors. |
@@ -1218,14 +1218,12 @@ mod prim_f32 {} |
|
|
1218 |
1218 |
#[doc(alias = "double")] |
1219 |
1219 |
/// A 64-bit floating point type (specifically, the "binary64" type defined in IEEE 754-2008). |
1220 |
1220 |
/// |
1221 |
|
-/// This type is very similar to [`f32`], but has increased |
1222 |
|
-/// precision by using twice as many bits. Please see [the documentation for |
1223 |
|
-/// `f32`][`f32`] or [Wikipedia on double precision |
|
1221 |
+/// This type is very similar to [`prim@f32`], but has increased precision by using twice as many |
|
1222 |
+/// bits. Please see [the documentation for `f32`](prim@f32) or [Wikipedia on double-precision |
1224 |
1223 |
/// values][wikipedia] for more information. |
1225 |
1224 |
/// |
1226 |
1225 |
/// *[See also the `std::f64::consts` module](crate::f64::consts).* |
1227 |
1226 |
/// |
1228 |
|
-/// [`f32`]: prim@f32 |
1229 |
1227 |
/// [wikipedia]: https://en.wikipedia.org/wiki/Double-precision\_floating-point\_format |
1230 |
1228 |
#[stable(feature = "rust1", since = "1.0.0")] |
1231 |
1229 |
mod prim_f64 {} |