v8  3.11.10(node0.8.26)
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 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  )
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  )
TEST ( NextDouble  )