v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
test-double.cc File Reference
#include <stdlib.h>
#include "v8.h"
#include "platform.h"
#include "cctest.h"
#include "diy-fp.h"
#include "double.h"
Include dependency graph for test-double.cc:

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)
 

Function Documentation

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  )
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  )
TEST ( NextDouble  )