Tgross feedback tweaks

Co-authored-by: Trevor Gross <t.gross35@gmail.com>

Update library/core/src/primitive_docs.rs

Co-authored-by: Trevor Gross <t.gross35@gmail.com>

Update library/core/src/primitive_docs.rs
This commit is contained in:
Alex H 2024-04-14 11:55:00 -07:00 committed by ultrabear
parent 3fd8c6432d
commit e30ad6ff2c
No known key found for this signature in database
GPG Key ID: 6A5BDAF57DFFD6A0

View File

@ -1082,9 +1082,8 @@ impl<T> (T,) {}
/// bits. Please see [the documentation for [`prim@f32`] or [Wikipedia on
/// half-precision values][wikipedia] for more information.
///
/// Note that not all major platforms have hardware support for f16, in which case a
/// software implementation will be used. This may be slower than expected.
///
/// Note that most major platforms will provide `f16` math support by converting to and from
/// an `f32`, which is usually fairly performant but will not be as fast as using `f32` directly.
/// *[See also the `std::f16::consts` module](crate::f16::consts).*
///
/// [wikipedia]: https://en.wikipedia.org/wiki/Half-precision_floating-point_format
@ -1184,8 +1183,8 @@ mod prim_f64 {}
/// as many bits as `f64`. Please see [the documentation for [`prim@f32`] or [Wikipedia on
/// quad-precision values][wikipedia] for more information.
///
/// Note that not all major platforms have hardware support for f128, in which case a
/// software implementation will be used. This may be slower than expected.
/// Note that most major platforms do not have hardware support for `f128`, in which case a
/// software implementation will be used. This can be significantly slower than using `f64`.
///
/// *[See also the `std::f128::consts` module](crate::f128::consts).*
///