Rollup merge of #82561 - tspiteri:cube-root, r=Dylan-DPC

doc: cube root, not cubic root

Like we say square root, not quadratic root.
This commit is contained in:
Dylan DPC 2021-02-27 21:56:21 +01:00 committed by GitHub
commit b1113abacd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -503,7 +503,7 @@ pub fn abs_sub(self, other: f32) -> f32 {
unsafe { cmath::fdimf(self, other) }
}
/// Returns the cubic root of a number.
/// Returns the cube root of a number.
///
/// # Examples
///

View File

@ -505,7 +505,7 @@ pub fn abs_sub(self, other: f64) -> f64 {
unsafe { cmath::fdim(self, other) }
}
/// Returns the cubic root of a number.
/// Returns the cube root of a number.
///
/// # Examples
///