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

Issue 195052: code review 195052: math: add functions; update tests and special cases (Closed)

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

Description

math: add functions; update tests and special cases Added special cases to comments for asin.go and fabs.go. Added Trunc() to floor.go and floor_386.s. Fixed formatting error in hypot_386.s Added new functions Acosh, Asinh, Atanh, Copysign, Erf, Erfc, Expm1, and Log1p. Added 386 FPU version of Fmod. Added tests, benchmarks, and precision to expected results in all_test.go. Edited makefile so it all compiles.

Patch Set 1 #

Patch Set 2 : code review 195052: math: add functions; update tests and special cases #

Patch Set 3 : code review 195052: math: add functions; update tests and special cases #

Total comments: 13

Patch Set 4 : code review 195052: math: add functions; update tests and special cases #

Patch Set 5 : code review 195052: math: add functions; update tests and special cases #

Patch Set 6 : code review 195052: math: add functions; update tests and special cases #

Patch Set 7 : code review 195052: math: add functions; update tests and special cases #

Patch Set 8 : code review 195052: math: add functions; update tests and special cases #

Patch Set 9 : code review 195052: math: add functions; update tests and special cases #

Patch Set 10 : code review 195052: math: add functions; update tests and special cases #

Patch Set 11 : code review 195052: math: add functions; update tests and special cases #

Patch Set 12 : code review 195052: math: add functions; update tests and special cases #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1727 lines, -148 lines) Patch
M src/pkg/math/Makefile View 2 chunks +8 lines, -0 lines 0 comments Download
A src/pkg/math/acosh.go View 1 2 3 1 chunk +59 lines, -0 lines 0 comments Download
M src/pkg/math/all_test.go View 1 2 3 4 5 6 7 8 9 10 11 21 chunks +644 lines, -141 lines 0 comments Download
M src/pkg/math/asin.go View 2 chunks +7 lines, -1 line 0 comments Download
A src/pkg/math/asinh.go View 1 2 3 1 chunk +72 lines, -0 lines 0 comments Download
A src/pkg/math/atanh.go View 1 2 3 1 chunk +79 lines, -0 lines 0 comments Download
A src/pkg/math/copysign.go View 1 1 chunk +15 lines, -0 lines 0 comments Download
A src/pkg/math/erf.go View 1 2 3 1 chunk +340 lines, -0 lines 0 comments Download
M src/pkg/math/exp.go View 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/math/expm1.go View 1 2 3 1 chunk +238 lines, -0 lines 0 comments Download
M src/pkg/math/fabs.go View 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/math/floor.go View 3 chunks +19 lines, -1 line 0 comments Download
M src/pkg/math/floor_386.s View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +16 lines, -3 lines 0 comments Download
M src/pkg/math/floor_decl.go View 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/math/fmod_386.s View 1 2 3 8 9 10 11 1 chunk +15 lines, -0 lines 0 comments Download
A src/pkg/math/fmod_decl.go View 1 chunk +7 lines, -0 lines 0 comments Download
M src/pkg/math/hypot_386.s View 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/math/log1p.go View 1 2 3 8 9 10 1 chunk +200 lines, -0 lines 0 comments Download

Messages

Total messages: 17
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 3 months ago (2010-01-27 00:42:45 UTC) #1
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-27 00:52:08 UTC) #2
rsc1
wow, someone's been busy. ;-) http://codereview.appspot.com/195052/diff/53/1021 File src/pkg/math/acosh.go (right): http://codereview.appspot.com/195052/diff/53/1021#newcode56 src/pkg/math/acosh.go:56: // default: delete; duplicated ...
15 years, 3 months ago (2010-01-28 23:49:00 UTC) #3
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 3 months ago (2010-01-29 03:11:56 UTC) #4
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-29 03:12:50 UTC) #5
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-29 03:14:03 UTC) #6
rsc
On 2010/01/29 03:14:03, Charlie Dorian wrote: > Hello rsc (cc: mailto:golang-dev@googlegroups.com), > > Please take ...
15 years, 3 months ago (2010-01-29 03:18:07 UTC) #7
Charlie Dorian
Here you go ... On Thu, Jan 28, 2010 at 6:49 PM, <rsc@google.com> wrote: > ...
15 years, 3 months ago (2010-01-29 03:21:15 UTC) #8
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-29 03:28:43 UTC) #9
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-29 03:32:29 UTC) #10
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-29 04:45:06 UTC) #11
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-29 04:49:16 UTC) #12
Charlie Dorian
I think they're all back now. On Thu, Jan 28, 2010 at 11:45 PM, <cldorian@gmail.com> ...
15 years, 3 months ago (2010-01-29 04:49:54 UTC) #13
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-29 05:10:58 UTC) #14
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years, 3 months ago (2010-01-30 06:28:28 UTC) #15
Charlie Dorian
Merged changes to all_test.go for FreeBSD x87 problem. On Fri, Jan 29, 2010 at 12:10 ...
15 years, 3 months ago (2010-01-30 06:29:58 UTC) #16
rsc
15 years, 2 months ago (2010-02-02 06:21:44 UTC) #17
*** Submitted as http://code.google.com/p/go/source/detail?r=ebab2afdbbeb ***

math: add functions; update tests and special cases

Added special cases to comments for asin.go and fabs.go.
Added Trunc() to floor.go and floor_386.s.  Fixed formatting
error in hypot_386.s  Added new functions Acosh, Asinh,
Atanh, Copysign, Erf, Erfc, Expm1, and Log1p.  Added
386 FPU version of Fmod.  Added tests, benchmarks, and
precision to expected results in all_test.go.  Edited
makefile so it all compiles.

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

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