Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions library/core/src/num/f128.rs
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ impl f128 {
/// conserved over arithmetic operations, the result of `is_sign_positive` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == 1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// #![feature(f128)]
Expand All @@ -620,7 +620,7 @@ impl f128 {
/// conserved over arithmetic operations, the result of `is_sign_negative` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == -1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// #![feature(f128)]
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/num/f16.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ impl f16 {
/// conserved over arithmetic operations, the result of `is_sign_positive` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == 1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// #![feature(f16)]
Expand Down Expand Up @@ -616,7 +616,7 @@ impl f16 {
/// conserved over arithmetic operations, the result of `is_sign_negative` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == -1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// #![feature(f16)]
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/num/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ impl f32 {
/// conserved over arithmetic operations, the result of `is_sign_positive` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == 1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// let f = 7.0_f32;
Expand All @@ -836,7 +836,7 @@ impl f32 {
/// conserved over arithmetic operations, the result of `is_sign_negative` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == -1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// let f = 7.0f32;
Expand Down
4 changes: 2 additions & 2 deletions library/core/src/num/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ impl f64 {
/// conserved over arithmetic operations, the result of `is_sign_positive` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == 1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// let f = 7.0_f64;
Expand All @@ -835,7 +835,7 @@ impl f64 {
/// conserved over arithmetic operations, the result of `is_sign_negative` on
/// a NaN might produce an unexpected or non-portable result. See the [specification
/// of NaN bit patterns](f32#nan-bit-patterns) for more info. Use `self.signum() == -1.0`
/// if you need fully portable behavior (will return NaN for all NaNs).
/// if you need fully portable behavior (evaluates to `false` for all NaNs).
///
/// ```
/// let f = 7.0_f64;
Expand Down
Loading