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

Issue 10026011: Use ldexp instead of pow for more accuracy (Closed)

Created:
8 years, 8 months ago by Net147
Modified:
8 years, 8 months ago
Reviewers:
ulan, Yang
CC:
v8-dev
Visibility:
Public.

Description

Use ldexp instead of pow for more accuracy This fixes failing octal conversion test with MinGW-w64 GCC 4.5.2 due to pow resulting in more error than ldexp when constructing a double from a mantissa, exponent and sign (e.g. when 2 is raised to the power of 98). Contributed by net147@gmail.com BUGS= TEST=cctest/test-conversions/Octal

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M src/conversions-inl.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 1 (0 generated)
Net147
8 years, 8 months ago (2012-04-09 01:29:46 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698