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"
Go to the source code of this file.
Functions | |
TEST (Uint64Conversions) | |
TEST (AsDiyFp) | |
TEST (AsNormalizedDiyFp) | |
TEST (IsDenormal) | |
TEST (IsSpecial) | |
TEST (IsInfinite) | |
TEST (Sign) | |
TEST (NormalizedBoundaries) | |
TEST (NextDouble) | |
TEST | ( | Uint64Conversions | ) |
Definition at line 16 of file test-double.cc.
References CHECK_EQ, and V8_2PART_UINT64_C.
TEST | ( | AsDiyFp | ) |
Definition at line 28 of file test-double.cc.
References Double::AsDiyFp(), CHECK, CHECK_EQ, DiyFp::e(), DiyFp::f(), and V8_2PART_UINT64_C.
TEST | ( | AsNormalizedDiyFp | ) |
Definition at line 48 of file test-double.cc.
References Double::AsNormalizedDiyFp(), CHECK, CHECK_EQ, DiyFp::e(), DiyFp::f(), and V8_2PART_UINT64_C.
TEST | ( | IsDenormal | ) |
Definition at line 69 of file test-double.cc.
References CHECK, and V8_2PART_UINT64_C.
TEST | ( | IsSpecial | ) |
Definition at line 79 of file test-double.cc.
References CHECK, OS::nan_value(), V8_2PART_UINT64_C, and V8_INFINITY.
TEST | ( | IsInfinite | ) |
Definition at line 102 of file test-double.cc.
References CHECK, OS::nan_value(), V8_2PART_UINT64_C, and V8_INFINITY.
TEST | ( | Sign | ) |
Definition at line 115 of file test-double.cc.
References CHECK_EQ, V8_2PART_UINT64_C, and V8_INFINITY.
TEST | ( | NormalizedBoundaries | ) |
Definition at line 126 of file test-double.cc.
References Double::AsNormalizedDiyFp(), CHECK, CHECK_EQ, CHECK_GT, DiyFp::e(), DiyFp::f(), Double::NormalizedBoundaries(), and V8_2PART_UINT64_C.
TEST | ( | NextDouble | ) |
Definition at line 192 of file test-double.cc.
References CHECK_EQ, v8::internal::d0, v8::internal::d1, v8::internal::d2, Double::NextDouble(), V8_2PART_UINT64_C, and V8_INFINITY.