v8
3.25.30(node0.11.13)
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 41 of file test-double.cc.
References CHECK_EQ, and V8_2PART_UINT64_C.
TEST | ( | AsDiyFp | ) |
Definition at line 54 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 74 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 95 of file test-double.cc.
References CHECK, and V8_2PART_UINT64_C.
TEST | ( | IsSpecial | ) |
Definition at line 105 of file test-double.cc.
References CHECK, OS::nan_value(), V8_2PART_UINT64_C, and V8_INFINITY.
TEST | ( | IsInfinite | ) |
Definition at line 128 of file test-double.cc.
References CHECK, OS::nan_value(), V8_2PART_UINT64_C, and V8_INFINITY.
TEST | ( | Sign | ) |
Definition at line 141 of file test-double.cc.
References CHECK_EQ, V8_2PART_UINT64_C, and V8_INFINITY.
TEST | ( | NormalizedBoundaries | ) |
Definition at line 152 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 218 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.