Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(599)

Delta Between Two Patch Sets: src/pkg/cmath/conj.go

Issue 874041: code review 874041: cmath pkg (Closed)
Left Patch Set: Created 15 years ago
Right Patch Set: code review 874041: cmath pkg Created 14 years, 12 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/cmath/cmath_test.go ('k') | src/pkg/cmath/exp.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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)) }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b