diff options
Diffstat (limited to 'src/pkg/cmath/phase.go')
-rw-r--r-- | src/pkg/cmath/phase.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/cmath/phase.go b/src/pkg/cmath/phase.go index 97a483492..2d67aa34c 100644 --- a/src/pkg/cmath/phase.go +++ b/src/pkg/cmath/phase.go @@ -7,5 +7,5 @@ package cmath import "math" // Phase returns the phase (also called the argument) of x. -// The returned value is in the range (-Pi, Pi]. +// The returned value is in the range [-Pi, Pi]. func Phase(x complex128) float64 { return math.Atan2(imag(x), real(x)) } |