38 using namespace v8::internal;
40 static const int kBufferSize = 500;
42 TEST(FastFixedVariousDoubles) {
43 char buffer_container[kBufferSize];
471 buffer, &length, &point));
476 buffer, &length, &point));
481 buffer, &length, &point));
486 buffer, &length, &point));
493 char buffer_container[kBufferSize];
501 for (
int i = 0; i < precomputed.
length(); ++i) {
503 double v = current_test.
v;
506 buffer, &length, &point);
509 CHECK_GE(number_digits, length - point);
#define CHECK_EQ(expected, value)
Vector< const PrecomputedFixed > PrecomputedFixedRepresentations()
const char * representation
bool FastFixedDtoa(double v, int fractional_count, Vector< char > buffer, int *length, int *decimal_point)