Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
fast-dtoa.cc File Reference
#include "fast-dtoa.h"
#include "cached-powers.h"
#include "diy-fp.h"
#include "ieee.h"

Go to the source code of this file.

Namespaces

namespace  double_conversion
 

Functions

static bool double_conversion::RoundWeed (Vector< char > buffer, int length, uint64_t distance_too_high_w, uint64_t unsafe_interval, uint64_t rest, uint64_t ten_kappa, uint64_t unit)
 
static bool double_conversion::RoundWeedCounted (Vector< char > buffer, int length, uint64_t rest, uint64_t ten_kappa, uint64_t unit, int *kappa)
 
static void double_conversion::BiggestPowerTen (uint32_t number, int number_bits, uint32_t *power, int *exponent_plus_one)
 
static bool double_conversion::DigitGen (DiyFp low, DiyFp w, DiyFp high, Vector< char > buffer, int *length, int *kappa)
 
static bool double_conversion::DigitGenCounted (DiyFp w, int requested_digits, Vector< char > buffer, int *length, int *kappa)
 
static bool double_conversion::Grisu3 (double v, FastDtoaMode mode, Vector< char > buffer, int *length, int *decimal_exponent)
 
static bool double_conversion::Grisu3Counted (double v, int requested_digits, Vector< char > buffer, int *length, int *decimal_exponent)
 
bool double_conversion::FastDtoa (double v, FastDtoaMode mode, int requested_digits, Vector< char > buffer, int *length, int *decimal_point)
 

Variables

static const int double_conversion::kMinimalTargetExponent = -60
 
static const int double_conversion::kMaximalTargetExponent = -32
 
static unsigned int const double_conversion::kSmallPowersOfTen []