Delta Between Two Patch Sets: src/pkg/cmath/conj.go
Issue 874041 :
code review 874041: cmath pkg (Closed)
Left Patch Set:
Right Patch Set: code review 874041: cmath pkg
Use n/p to move between diff chunks;
N/P to move between comments.
Please Sign in to add in-line comments.
Jump to:
src/pkg/Makefile
src/pkg/cmath/Makefile
src/pkg/cmath/abs.go
src/pkg/cmath/asin.go
src/pkg/cmath/cmath_test.go
src/pkg/cmath/conj.go
src/pkg/cmath/exp.go
src/pkg/cmath/isinf.go
src/pkg/cmath/isnan.go
src/pkg/cmath/log.go
src/pkg/cmath/phase.go
src/pkg/cmath/polar.go
src/pkg/cmath/pow.go
src/pkg/cmath/rect.go
src/pkg/cmath/sin.go
src/pkg/cmath/sqrt.go
src/pkg/cmath/tan.go
LEFT RIGHT
1 // Copyright 2010 The Go Authors. All rights reserved. 1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 package cmath 5 package cmath
6 6
7 // Conj (x) returns the complex conjugate of complex x. 7 // Conj returns the complex conjugate of x.
8 func Conj(x complex128) complex128 { return cmplx(real(x), -imag(x)) } 8 func Conj(x complex128) complex128 { return cmplx(real(x), -imag(x)) }
LEFT RIGHT