summaryrefslogtreecommitdiff
path: root/src/pkg/cmath/exp.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/cmath/exp.go')
-rw-r--r--src/pkg/cmath/exp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/cmath/exp.go b/src/pkg/cmath/exp.go
index 1a639c596..64c1ef409 100644
--- a/src/pkg/cmath/exp.go
+++ b/src/pkg/cmath/exp.go
@@ -51,5 +51,5 @@ import "math"
func Exp(x complex128) complex128 {
r := math.Exp(real(x))
s, c := math.Sincos(imag(x))
- return cmplx(r*c, r*s)
+ return complex(r*c, r*s)
}