v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::base::PowersOfTenCache Class Reference

#include <cached-powers.h>

Collaboration diagram for v8::base::PowersOfTenCache:

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 13 of file cached-powers.h.

Member Function Documentation

◆ GetCachedPowerForBinaryExponentRange()

void v8::base::PowersOfTenCache::GetCachedPowerForBinaryExponentRange ( int min_exponent,
int max_exponent,
DiyFp * power,
int * decimal_exponent )
static

Definition at line 83 of file cached-powers.cc.

Here is the caller graph for this function:

◆ GetCachedPowerForDecimalExponent()

void v8::base::PowersOfTenCache::GetCachedPowerForDecimalExponent ( int requested_exponent,
DiyFp * power,
int * found_exponent )
static

Definition at line 99 of file cached-powers.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ kDecimalExponentDistance

const int v8::base::PowersOfTenCache::kDecimalExponentDistance = 8
static

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

◆ kMaxDecimalExponent

const int v8::base::PowersOfTenCache::kMaxDecimalExponent = 340
static

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

◆ kMinDecimalExponent

const int v8::base::PowersOfTenCache::kMinDecimalExponent = -348
static

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


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