From 9c63abc9a1d127f95162756467284cf76b47aff8 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 7 Dec 2011 01:11:29 +0000 Subject: libgo: Update to weekly 2011-11-09. From-SVN: r182073 --- libgo/go/math/cmplx/conj.go | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 libgo/go/math/cmplx/conj.go (limited to 'libgo/go/math/cmplx/conj.go') diff --git a/libgo/go/math/cmplx/conj.go b/libgo/go/math/cmplx/conj.go new file mode 100644 index 00000000000..34a4277c117 --- /dev/null +++ b/libgo/go/math/cmplx/conj.go @@ -0,0 +1,8 @@ +// Copyright 2010 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package cmplx + +// Conj returns the complex conjugate of x. +func Conj(x complex128) complex128 { return complex(real(x), -imag(x)) } -- cgit v1.2.1