Skip to content

Commit

Permalink
Rollup merge of #82561 - tspiteri:cube-root, r=Dylan-DPC
Browse files Browse the repository at this point in the history
doc: cube root, not cubic root

Like we say square root, not quadratic root.
  • Loading branch information
Dylan-DPC authored Feb 27, 2021
2 parents 6d288c6 + dd502cb commit b1113ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/std/src/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ impl f32 {
unsafe { cmath::fdimf(self, other) }
}

/// Returns the cubic root of a number.
/// Returns the cube root of a number.
///
/// # Examples
///
Expand Down
2 changes: 1 addition & 1 deletion library/std/src/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ impl f64 {
unsafe { cmath::fdim(self, other) }
}

/// Returns the cubic root of a number.
/// Returns the cube root of a number.
///
/// # Examples
///
Expand Down

0 comments on commit b1113ab

Please sign in to comment.