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
conversions.h File Reference
#include "utils.h"
Include dependency graph for conversions.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 v8
 
 v8::internal
 

Enumerations

enum  ConversionFlags { NO_FLAGS = 0, ALLOW_HEX = 1, ALLOW_OCTALS = 2, ALLOW_TRAILING_JUNK = 4 }
 

Functions

bool isDigit (int x, int radix)
 
double SignedZero (bool negative)
 
int FastD2I (double x)
 
unsigned int FastD2UI (double x)
 
double FastI2D (int x)
 
double FastUI2D (unsigned x)
 
double DoubleToInteger (double x)
 
int32_t DoubleToInt32 (double x)
 
uint32_t DoubleToUint32 (double x)
 
double StringToDouble (UnicodeCache *unicode_cache, Vector< const char > str, int flags, double empty_string_val)
 
double StringToDouble (UnicodeCache *unicode_cache, Vector< const uc16 > str, int flags, double empty_string_val)
 
double StringToDouble (UnicodeCache *unicode_cache, const char *str, int flags, double empty_string_val)
 
const char * DoubleToCString (double v, Vector< char > buffer)
 
const char * IntToCString (int n, Vector< char > buffer)
 
char * DoubleToFixedCString (double value, int f)
 
char * DoubleToExponentialCString (double value, int f)
 
char * DoubleToPrecisionCString (double value, int p)
 
char * DoubleToRadixCString (double value, int radix)
 

Variables

const int kMaxSignificantDigits = 772
 
const int kDoubleToCStringMinBufferSize = 100