File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1082,9 +1082,8 @@ impl<T> (T,) {}
1082
1082
/// bits. Please see [the documentation for [`prim@f32`] or [Wikipedia on
1083
1083
/// half-precision values][wikipedia] for more information.
1084
1084
///
1085
- /// Note that not all major platforms have hardware support for f16, in which case a
1086
- /// software implementation will be used. This may be slower than expected.
1087
- ///
1085
+ /// Note that most major platforms will provide `f16` math support by converting to and from
1086
+ /// an `f32`, which is usually fairly performant but will not be as fast as using `f32` directly.
1088
1087
/// *[See also the `std::f16::consts` module](crate::f16::consts).*
1089
1088
///
1090
1089
/// [wikipedia]: https://en.wikipedia.org/wiki/Half-precision_floating-point_format
@@ -1184,8 +1183,8 @@ mod prim_f64 {}
1184
1183
/// as many bits as `f64`. Please see [the documentation for [`prim@f32`] or [Wikipedia on
1185
1184
/// quad-precision values][wikipedia] for more information.
1186
1185
///
1187
- /// Note that not all major platforms have hardware support for f128, in which case a
1188
- /// software implementation will be used. This may be slower than expected .
1186
+ /// Note that most major platforms do not have hardware support for ` f128` , in which case a
1187
+ /// software implementation will be used. This can be significantly slower than using `f64` .
1189
1188
///
1190
1189
/// *[See also the `std::f128::consts` module](crate::f128::consts).*
1191
1190
///
You can’t perform that action at this time.
0 commit comments