Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Issue 5801: Reduce RandDouble to one call to ldexp, add one bit of precision (Closed)

Created:
12 years, 2 months ago by Mark Mentovai
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Base URL:
svn://chrome-svn.corp.google.com/chrome/trunk/src/
Visibility:
Public.

Description

Reduce RandDouble to one call to ldexp, add one bit of precision Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=2712

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -17 lines) Patch
M base/rand_util.cc View 1 2 2 chunks +10 lines, -17 lines 0 comments Download
M base/rand_util_unittest.cc View 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Mark Mentovai
I realized that we don't need to call ldexp in chunks, we can just call ...
12 years, 2 months ago (2008-09-30 04:53:31 UTC) #1
Dean McNamee
Super nice cleanup, thanks. This really made me realize how bad my math is, but ...
12 years, 2 months ago (2008-09-30 12:25:20 UTC) #2
Dean McNamee
12 years, 2 months ago (2008-09-30 14:20:29 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698