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

Issue 822045: code review 822045: math: atan2 special cases (negative zero) (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 11 months ago by Charlie Dorian
Modified:
14 years, 11 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

math: atan2 special cases (negative zero) Added Signbit(), revised Copysign()

Patch Set 1 #

Patch Set 2 : code review 822045: math: atan2 special cases (negative zero) #

Total comments: 2

Patch Set 3 : code review 822045: math: atan2 special cases (negative zero) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -32 lines) Patch
M src/pkg/math/Makefile View 1 chunk +1 line, -0 lines 0 comments Download
M src/pkg/math/all_test.go View 7 chunks +63 lines, -2 lines 0 comments Download
M src/pkg/math/atan2.go View 2 chunks +15 lines, -25 lines 0 comments Download
M src/pkg/math/copysign.go View 1 2 1 chunk +2 lines, -5 lines 0 comments Download
A src/pkg/math/signbit.go View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 6
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 11 months ago (2010-04-08 17:55:10 UTC) #1
rsc1
looks good; tiny nit http://codereview.appspot.com/822045/diff/2001/3004 File src/pkg/math/copysign.go (right): http://codereview.appspot.com/822045/diff/2001/3004#newcode11 src/pkg/math/copysign.go:11: return Float64frombits(Float64bits(x)&0x7fffffffffffffff | Float64bits(y)&0x8000000000000000) a ...
14 years, 11 months ago (2010-04-08 18:30:58 UTC) #2
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 11 months ago (2010-04-08 20:01:42 UTC) #3
Charlie Dorian
Thanks for the review. On Thu, Apr 8, 2010 at 2:30 PM, <rsc@google.com> wrote: > ...
14 years, 11 months ago (2010-04-08 20:01:45 UTC) #4
rsc1
LGTM thanks
14 years, 11 months ago (2010-04-08 20:07:53 UTC) #5
rsc
14 years, 11 months ago (2010-04-08 20:24:10 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=2d74f76a6da9 ***

math: atan2 special cases (negative zero)

Added Signbit(), revised Copysign()

R=rsc
CC=golang-dev
http://codereview.appspot.com/822045

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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