mirror of
https://github.com/golang/go.git
synced 2025-05-30 19:52:53 +00:00
math: fix typo in Cbrt description
R=rsc CC=golang-dev https://golang.org/cl/979043
This commit is contained in:
parent
a0514459aa
commit
37089cce67
@ -15,9 +15,9 @@ package math
|
||||
// Cbrt returns the cube root of its argument.
|
||||
//
|
||||
// Special cases are:
|
||||
// Exp(±0) = ±0
|
||||
// Exp(±Inf) = ±Inf
|
||||
// Exp(NaN) = NaN
|
||||
// Cbrt(±0) = ±0
|
||||
// Cbrt(±Inf) = ±Inf
|
||||
// Cbrt(NaN) = NaN
|
||||
func Cbrt(x float64) float64 {
|
||||
const (
|
||||
A1 = 1.662848358e-01
|
||||
|
Loading…
x
Reference in New Issue
Block a user