v8  3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
PowersOfTenCache Class Reference

#include <cached-powers.h>

Static Public Member Functions

static void GetCachedPowerForBinaryExponentRange (int min_exponent, int max_exponent, DiyFp *power, int *decimal_exponent)
 
static void GetCachedPowerForDecimalExponent (int requested_exponent, DiyFp *power, int *found_exponent)
 

Static Public Attributes

static const int kDecimalExponentDistance = 8
 
static const int kMinDecimalExponent = -348
 
static const int kMaxDecimalExponent = 340
 

Detailed Description

Definition at line 36 of file cached-powers.h.

Member Function Documentation

void GetCachedPowerForBinaryExponentRange ( int  min_exponent,
int  max_exponent,
DiyFp power,
int *  decimal_exponent 
)
static
void GetCachedPowerForDecimalExponent ( int  requested_exponent,
DiyFp power,
int *  found_exponent 
)
static

Field Documentation

const int kDecimalExponentDistance = 8
static
const int kMaxDecimalExponent = 340
static

Definition at line 43 of file cached-powers.h.

Referenced by PowersOfTenCache::GetCachedPowerForDecimalExponent().

const int kMinDecimalExponent = -348
static

Definition at line 42 of file cached-powers.h.

Referenced by PowersOfTenCache::GetCachedPowerForDecimalExponent().


The documentation for this class was generated from the following files: