Update library/std/src/primitive_docs.rs

Co-authored-by: Jubilee <46493976+workingjubilee@users.noreply.github.com>
This commit is contained in:
Trevor Spiteri 2021-04-19 02:58:38 +02:00 committed by GitHub
parent 18955203d3
commit 4c6477026d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -808,8 +808,8 @@ mod prim_tuple {}
/// Additionally, `f32` can represent some special values:
///
/// - 0.0: IEEE 754 floating point numbers have a bit that indicates their sign, so 0.0 is a
/// possible value. For comparison `-0.0 == 0.0` is true but floating point operations can
/// carry the sign bit through arithmetic operations. This means `-1.0 * 0.0` produces 0.0 and
/// possible value. For comparison 0.0 = +0.0, but floating point operations can carry
/// the sign bit through arithmetic operations. This means 0.0 × +0.0 produces 0.0 and
/// a negative number rounded to a value smaller than a float can represent also produces 0.0.
/// - [∞](#associatedconstant.INFINITY) and
/// [−∞](#associatedconstant.NEG_INFINITY): these result from calculations