summaryrefslogtreecommitdiffstats
path: root/libgo/go/cmath/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/cmath/log.go')
-rw-r--r--libgo/go/cmath/log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/cmath/log.go b/libgo/go/cmath/log.go
index b42062b2ab9..8e6964fee89 100644
--- a/libgo/go/cmath/log.go
+++ b/libgo/go/cmath/log.go
@@ -55,7 +55,7 @@ import "math"
// Log returns the natural logarithm of x.
func Log(x complex128) complex128 {
- return cmplx(math.Log(Abs(x)), Phase(x))
+ return complex(math.Log(Abs(x)), Phase(x))
}
// Log10 returns the decimal logarithm of x.
OpenPOWER on IntegriCloud