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

Issue 217109: code review 217109: math: added ilogb, logb, remainder, tests and special c... (Closed)

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

Description

math: added ilogb, logb, remainder, tests and special conditions Also added expm1_386 and remainder_386; shortened exp_386

Patch Set 1 #

Patch Set 2 : code review 217109: math: added ilogb, logb, remainder, tests and special c... #

Total comments: 5

Patch Set 3 : code review 217109: math: added ilogb, logb, remainder, tests and special c... #

Patch Set 4 : code review 217109: math: added ilogb, logb, remainder, tests and special c... #

Patch Set 5 : code review 217109: math: added ilogb, logb, remainder, tests and special c... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+331 lines, -5 lines) Patch
M src/pkg/math/Makefile View 4 chunks +4 lines, -0 lines 0 comments Download
M src/pkg/math/all_test.go View 1 2 3 4 11 chunks +108 lines, -1 line 0 comments Download
M src/pkg/math/exp_386.s View 2 chunks +3 lines, -4 lines 0 comments Download
A src/pkg/math/expm1_386.s View 1 2 3 4 1 chunk +55 lines, -0 lines 0 comments Download
A src/pkg/math/expm1_decl.go View 1 chunk +7 lines, -0 lines 0 comments Download
A src/pkg/math/logb.go View 1 2 3 4 1 chunk +47 lines, -0 lines 0 comments Download
A src/pkg/math/remainder.go View 1 2 1 chunk +85 lines, -0 lines 0 comments Download
A src/pkg/math/remainder_386.s View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
A src/pkg/math/remainder_decl.go View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 10
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years ago (2010-02-24 00:32:16 UTC) #1
rsc
looks pretty good. http://codereview.appspot.com/217109/diff/20/26 File src/pkg/math/logb.go (right): http://codereview.appspot.com/217109/diff/20/26#newcode7 src/pkg/math/logb.go:7: // Logb(x) returns the binary exponent ...
15 years ago (2010-02-25 21:16:55 UTC) #2
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-02-25 22:52:44 UTC) #3
Charlie Dorian
Thanks for the review. On Thu, Feb 25, 2010 at 4:16 PM, <rsc@golang.org> wrote: > ...
15 years ago (2010-02-25 22:52:51 UTC) #4
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-02-25 23:23:43 UTC) #5
Charlie Dorian
Added TODO in logb.go for in-lining special cases. On Thu, Feb 25, 2010 at 6:23 ...
15 years ago (2010-02-25 23:24:52 UTC) #6
rsc
couple more nits, sorry. Logb and Ilogb say "binary exponent" but I think it should ...
15 years ago (2010-03-04 01:30:10 UTC) #7
Charlie Dorian
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-03-04 02:10:36 UTC) #8
Charlie Dorian
Thanks for the review. I appreciate it. On Wed, Mar 3, 2010 at 8:30 PM, ...
15 years ago (2010-03-04 02:11:30 UTC) #9
rsc
15 years ago (2010-03-04 02:17:15 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=68b509fc15b9 ***

math: added ilogb, logb, remainder, tests and special conditions

Also added expm1_386 and remainder_386; shortened exp_386

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

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