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

Issue 3851003: Fix double-rounding in strtod. (Closed)

Created:
10 years, 2 months ago by Florian Loitsch
Modified:
9 years, 7 months ago
Reviewers:
William Hesse
CC:
v8-dev
Visibility:
Public.

Description

Fix double-rounding in strtod. Don't use floating-point operations on Linux,x86 to compute strtod. Since the floating-point stack on Linux is set to 80bit double rounding may occure. When falling back to gay_strtod append several '0's so that Gay doesn't take the same shortcut either. BUG= TEST= Committed: http://code.google.com/p/v8/source/detail?r=5650

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -14 lines) Patch
M src/strtod.cc View 4 chunks +45 lines, -14 lines 0 comments Download
M test/cctest/test-strtod.cc View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Florian Loitsch
10 years, 2 months ago (2010-10-18 11:00:52 UTC) #1
Florian Loitsch
10 years, 2 months ago (2010-10-18 14:57:30 UTC) #2
William Hesse
10 years, 2 months ago (2010-10-18 15:04:55 UTC) #3
LGTM.

Powered by Google App Engine
This is Rietveld 408576698