v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <stdlib.h>
#include "v8.h"
#include "dtoa.h"
#include "cctest.h"
#include "double.h"
#include "gay-fixed.h"
#include "gay-precision.h"
#include "gay-shortest.h"
#include "platform.h"
Go to the source code of this file.
Functions | |
TEST (DtoaVariousDoubles) | |
TEST (DtoaGayShortest) | |
TEST (DtoaGayFixed) | |
TEST (DtoaGayPrecision) | |
TEST | ( | DtoaVariousDoubles | ) |
Definition at line 59 of file test-dtoa.cc.
References CHECK_EQ, CHECK_GE, v8::internal::DoubleToAscii(), v8::internal::DTOA_FIXED, v8::internal::DTOA_PRECISION, v8::internal::DTOA_SHORTEST, v8::internal::sign, Vector< T >::start(), V8_2PART_UINT64_C, and Double::value().
TEST | ( | DtoaGayShortest | ) |
Definition at line 267 of file test-dtoa.cc.
References CHECK_EQ, PrecomputedShortest::decimal_point, v8::internal::DoubleToAscii(), v8::internal::DTOA_SHORTEST, Vector< T >::length(), v8::internal::PrecomputedShortestRepresentations(), PrecomputedShortest::representation, v8::internal::sign, Vector< T >::start(), and PrecomputedShortest::v.
TEST | ( | DtoaGayFixed | ) |
Definition at line 287 of file test-dtoa.cc.
References CHECK_EQ, CHECK_GE, PrecomputedFixed::decimal_point, v8::internal::DoubleToAscii(), v8::internal::DTOA_FIXED, Vector< T >::length(), PrecomputedFixed::number_digits, v8::internal::PrecomputedFixedRepresentations(), PrecomputedFixed::representation, v8::internal::sign, Vector< T >::start(), and PrecomputedFixed::v.
TEST | ( | DtoaGayPrecision | ) |
Definition at line 310 of file test-dtoa.cc.
References CHECK_EQ, CHECK_GE, PrecomputedPrecision::decimal_point, v8::internal::DoubleToAscii(), v8::internal::DTOA_PRECISION, Vector< T >::length(), PrecomputedPrecision::number_digits, v8::internal::PrecomputedPrecisionRepresentations(), PrecomputedPrecision::representation, v8::internal::sign, Vector< T >::start(), and PrecomputedPrecision::v.