Skip to content

Commit

Permalink
doc: cube root, not cubic root
Browse files Browse the repository at this point in the history
Like we say square root, not quadratic root.
  • Loading branch information
tspiteri committed Feb 26, 2021
1 parent cecdb18 commit dd502cb
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 dd502cb

Please sign in to comment.