v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "platform.h"
#include "cctest.h"
#include "diy-fp.h"
#include "double.h"
#include "fast-dtoa.h"
#include "gay-precision.h"
#include "gay-shortest.h"
Go to the source code of this file.
Functions | |
TEST (FastDtoaShortestVariousDoubles) | |
TEST (FastDtoaPrecisionVariousDoubles) | |
TEST (FastDtoaGayShortest) | |
TEST (FastDtoaGayPrecision) | |
TEST | ( | FastDtoaShortestVariousDoubles | ) |
Definition at line 31 of file test-fast-dtoa.cc.
References CHECK, CHECK_EQ, v8::internal::FAST_DTOA_SHORTEST, v8::internal::FastDtoa(), Vector< T >::start(), V8_2PART_UINT64_C, and Double::value().
TEST | ( | FastDtoaPrecisionVariousDoubles | ) |
Definition at line 101 of file test-fast-dtoa.cc.
References CHECK, CHECK_EQ, CHECK_GE, v8::internal::FAST_DTOA_PRECISION, v8::internal::FastDtoa(), Vector< T >::start(), V8_2PART_UINT64_C, and Double::value().
TEST | ( | FastDtoaGayShortest | ) |
Definition at line 202 of file test-fast-dtoa.cc.
References CHECK, CHECK_EQ, CHECK_GE, CHECK_GT, PrecomputedShortest::decimal_point, v8::internal::FAST_DTOA_SHORTEST, v8::internal::FastDtoa(), v8::internal::kFastDtoaMaximalLength, Vector< T >::length(), v8::internal::PrecomputedShortestRepresentations(), PrecomputedShortest::representation, Vector< T >::start(), and PrecomputedShortest::v.
TEST | ( | FastDtoaGayPrecision | ) |
Definition at line 231 of file test-fast-dtoa.cc.
References CHECK_EQ, CHECK_GE, CHECK_GT, PrecomputedPrecision::decimal_point, v8::internal::FAST_DTOA_PRECISION, v8::internal::FastDtoa(), Vector< T >::length(), PrecomputedPrecision::number_digits, v8::internal::PrecomputedPrecisionRepresentations(), PrecomputedPrecision::representation, Vector< T >::start(), and PrecomputedPrecision::v.