Skip to content

Commit b1113ab

Browse files
authored
Rollup merge of #82561 - tspiteri:cube-root, r=Dylan-DPC
doc: cube root, not cubic root Like we say square root, not quadratic root.
2 parents 6d288c6 + dd502cb commit b1113ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/std/src/f32.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ impl f32 {
503503
unsafe { cmath::fdimf(self, other) }
504504
}
505505

506-
/// Returns the cubic root of a number.
506+
/// Returns the cube root of a number.
507507
///
508508
/// # Examples
509509
///

library/std/src/f64.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ impl f64 {
505505
unsafe { cmath::fdim(self, other) }
506506
}
507507

508-
/// Returns the cubic root of a number.
508+
/// Returns the cube root of a number.
509509
///
510510
/// # Examples
511511
///

0 commit comments

Comments
 (0)