File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
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
You can’t perform that action at this time.
0 commit comments