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

Unified Diff: test/cctest/gay-shortest.cc

Side-by-side diff isn't available for this file because of its large size.
Issue 1956005: Dtoa for fixed notation. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
« no previous file with comments | « test/cctest/gay-shortest.h ('k') | test/cctest/test-fast-dtoa.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/gay-shortest.cc
===================================================================
--- test/cctest/gay-shortest.cc (revision 4592)
+++ test/cctest/gay-shortest.cc (working copy)
@@ -36,7 +36,7 @@
namespace v8 {
namespace internal {
-static const GayShortest kShortestTestNumbers[] = {
+static const PrecomputedShortest kShortestTestNumbers[] = {
{1.3252057186783201350530603e-106, "13252057186783201", -105},
{1.6899223998841386493367055e-33, "16899223998841386", -32},
{1.0077972445720390730768089e+138, "1007797244572039", 139},
@@ -100040,9 +100040,11 @@
};
-Vector<const GayShortest> PrecomputedShortestRepresentations() {
- int number_elements = sizeof(kShortestTestNumbers) / sizeof(GayShortest);
- return Vector<const GayShortest>(kShortestTestNumbers, number_elements);
+Vector<const PrecomputedShortest> PrecomputedShortestRepresentations() {
+ int number_elements =
+ sizeof(kShortestTestNumbers) / sizeof(PrecomputedShortest);
+ return Vector<const PrecomputedShortest>(kShortestTestNumbers,
+ number_elements);
}
} } // namespace v8::internal
« no previous file with comments | « test/cctest/gay-shortest.h ('k') | test/cctest/test-fast-dtoa.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698