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

Side by Side Diff: src/powers_ten.h

Issue 866002: Fast double-to-ascii conversion. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 9 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:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/grisu3.cc ('k') | test/cctest/SConscript » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2010 the V8 project authors. All rights reserved.
1 // ------------ GENERATED FILE ---------------- 2 // ------------ GENERATED FILE ----------------
2 // command used: 3 // command used:
3 // tools/generate-ten-powers --from -308 --to 342 --mantissa-size 64 --round ro und -o src/powers_ten.h // NOLINT 4 // tools/generate-ten-powers --from -308 --to 342 --mantissa-size 64 --round ro und -o src/powers_ten.h // NOLINT
4 5
5 // This file is intended to be included inside another .h or .cc files 6 // This file is intended to be included inside another .h or .cc files
6 // with the following defines set: 7 // with the following defines set:
7 // GRISU_CACHE_STRUCT: should expand to the name of a struct that will 8 // GRISU_CACHE_STRUCT: should expand to the name of a struct that will
8 // hold the cached powers of ten. Each entry will hold a 64-bit 9 // hold the cached powers of ten. Each entry will hold a 64-bit
9 // significand, a 16-bit signed binary exponent, and a 16-bit 10 // significand, a 16-bit signed binary exponent, and a 16-bit
10 // signed decimal exponent. Each entry will be constructed as follows: 11 // signed decimal exponent. Each entry will be constructed as follows:
(...skipping 2440 matching lines...) Expand 10 before | Expand all | Expand 10 after
2451 {GRISU_UINT64_C(0xce1de406, 42e3f4b9), 707, 232}, 2452 {GRISU_UINT64_C(0xce1de406, 42e3f4b9), 707, 232},
2452 {GRISU_UINT64_C(0x8bab8eef, b6409c1a), 774, 252}, 2453 {GRISU_UINT64_C(0x8bab8eef, b6409c1a), 774, 252},
2453 {GRISU_UINT64_C(0xbd49d14a, a79dbc82), 840, 272}, 2454 {GRISU_UINT64_C(0xbd49d14a, a79dbc82), 840, 272},
2454 {GRISU_UINT64_C(0x80444b5e, 7aa7cf85), 907, 292}, 2455 {GRISU_UINT64_C(0x80444b5e, 7aa7cf85), 907, 292},
2455 {GRISU_UINT64_C(0xadd57a27, d29339f6), 973, 312}, 2456 {GRISU_UINT64_C(0xadd57a27, d29339f6), 973, 312},
2456 {GRISU_UINT64_C(0xeb96bf6e, badf77d9), 1039, 332}, 2457 {GRISU_UINT64_C(0xeb96bf6e, badf77d9), 1039, 332},
2457 }; 2458 };
2458 static const int GRISU_CACHE_MAX_DISTANCE(20) = 67; 2459 static const int GRISU_CACHE_MAX_DISTANCE(20) = 67;
2459 // nb elements (20): 33 2460 // nb elements (20): 33
2460 static const int GRISU_CACHE_OFFSET = 308; 2461 static const int GRISU_CACHE_OFFSET = 308;
OLDNEW
« no previous file with comments | « src/grisu3.cc ('k') | test/cctest/SConscript » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698