summaryrefslogtreecommitdiff
path: root/src/pkg/cmath/polar.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/cmath/polar.go')
-rw-r--r--src/pkg/cmath/polar.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/cmath/polar.go b/src/pkg/cmath/polar.go
index f55aef42b..033676acc 100644
--- a/src/pkg/cmath/polar.go
+++ b/src/pkg/cmath/polar.go
@@ -6,7 +6,7 @@ package cmath
// Polar returns the absolute value r and phase θ of x,
// such that x = r * e**θi.
-// The phase is in the range (-Pi, Pi].
+// The phase is in the range [-Pi, Pi].
func Polar(x complex128) (r, θ float64) {
return Abs(x), Phase(x)
}