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

Issue 204069: code review 204069: math: add functions Log2, Nextafter, Fdim, Fmax, Fmin (Closed)

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

Description

math: add functions Log2, Nextafter, Fdim, Fmax, Fmin Add functions, tests and benchmarks. Fix typos in comments in expm1 and hypot_386. Fix Acosh domain error in benchmark test.

Patch Set 1 #

Patch Set 2 : code review 204069: math: add functions Log2, Nextafter, Fdim, Fmax, Fmin, Fma #

Total comments: 5

Patch Set 3 : code review 204069: math: add functions Log2, Nextafter, Fdim, Fmax, Fmin, Fma #

Patch Set 4 : code review 204069: math: add functions Log2, Nextafter, Fdim, Fmax, Fmin #

Unified diffs Side-by-side diffs Delta from patch set Stats (+206 lines, -4 lines) Patch
M src/pkg/math/Makefile View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M src/pkg/math/all_test.go View 1 2 3 11 chunks +132 lines, -1 line 0 comments Download
M src/pkg/math/expm1.go View 1 chunk +2 lines, -2 lines 0 comments Download
A src/pkg/math/fdim.go View 1 chunk +29 lines, -0 lines 0 comments Download
M src/pkg/math/hypot_386.s View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/math/log.go View 1 chunk +4 lines, -0 lines 0 comments Download
M src/pkg/math/log_386.s View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M src/pkg/math/log_decl.go View 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/math/nextafter.go View 1 2 1 chunk +27 lines, -0 lines 0 comments Download

Messages

Total messages: 7
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 2 months ago (2010-02-07 20:01:43 UTC) #1
rsc
http://codereview.appspot.com/204069/diff/1001/33 File src/pkg/math/fdim.go (right): http://codereview.appspot.com/204069/diff/1001/33#newcode7 src/pkg/math/fdim.go:7: // Fdim returns the maximum of x-y or 0. ...
15 years, 2 months ago (2010-02-08 05:07:30 UTC) #2
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 2 months ago (2010-02-08 05:39:43 UTC) #3
Charlie Dorian
I've removed the Fma function and assembly versions of Fdim, Fmax and Fmin. My tests ...
15 years, 2 months ago (2010-02-08 05:45:51 UTC) #4
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 2 months ago (2010-02-09 16:09:02 UTC) #5
rsc
LGTM
15 years, 2 months ago (2010-02-09 21:23:09 UTC) #6
rsc
15 years, 2 months ago (2010-02-09 21:33:15 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=c94c51ec3b45 ***

math: add functions Log2, Nextafter, Fdim, Fmax, Fmin

Add functions, tests and benchmarks. Fix typos in comments
in expm1 and hypot_386.  Fix Acosh domain error in benchmark
test.

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

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