Skip to content

Commit

Permalink
Fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
golddranks committed May 2, 2022
1 parent c18aee7 commit f535aed
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions core/src/num/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,8 @@ impl f32 {
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
/// Note that this follows the semantics specified in IEEE 754-2019.
///
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
#[must_use = "this returns the result of the comparison, without modifying either input"]
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
#[inline]
Expand Down Expand Up @@ -782,8 +782,8 @@ impl f32 {
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
/// Note that this follows the semantics specified in IEEE 754-2019.
///
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
#[must_use = "this returns the result of the comparison, without modifying either input"]
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
#[inline]
Expand Down
8 changes: 4 additions & 4 deletions core/src/num/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,8 +763,8 @@ impl f64 {
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
/// Note that this follows the semantics specified in IEEE 754-2019.
///
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
#[must_use = "this returns the result of the comparison, without modifying either input"]
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
#[inline]
Expand Down Expand Up @@ -798,8 +798,8 @@ impl f64 {
/// of the two numbers. For this operation, -0.0 is considered to be less than +0.0.
/// Note that this follows the semantics specified in IEEE 754-2019.
///
/// Also note that "propagation" of NaNs here doesn't mean that the bitpattern of a NaN operand
/// is necessarily conserved; see [explanation of NaN as a special value](f32) for more info.
/// Also note that "propagation" of NaNs here doesn't necessarily mean that the bitpattern of a NaN
/// operand is conserved; see [explanation of NaN as a special value](f32) for more info.
#[must_use = "this returns the result of the comparison, without modifying either input"]
#[unstable(feature = "float_minimum_maximum", issue = "91079")]
#[inline]
Expand Down
2 changes: 1 addition & 1 deletion std/src/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ impl f32 {
/// Raises a number to an integer power.
///
/// Using this function is generally faster than using `powf`.
/// It might have different sequence of rounding operations than `powf`,
/// It might have a different sequence of rounding operations than `powf`,
/// so the results are not guaranteed to agree.
///
/// # Examples
Expand Down
2 changes: 1 addition & 1 deletion std/src/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ impl f64 {
/// Raises a number to an integer power.
///
/// Using this function is generally faster than using `powf`.
/// It might have different sequence of rounding operations than `powf`,
/// It might have a different sequence of rounding operations than `powf`,
/// so the results are not guaranteed to agree.
///
/// # Examples
Expand Down

0 comments on commit f535aed

Please sign in to comment.