Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
strtod.cc File Reference
#include <climits>
#include <cstdarg>
#include "bignum.h"
#include "cached-powers.h"
#include "ieee.h"
#include "strtod.h"

Go to the source code of this file.

Namespaces

namespace  double_conversion
 

Functions

static Vector< const char > double_conversion::TrimLeadingZeros (Vector< const char > buffer)
 
static void double_conversion::CutToMaxSignificantDigits (Vector< const char > buffer, int exponent, char *significant_buffer, int *significant_exponent)
 
static void double_conversion::TrimAndCut (Vector< const char > buffer, int exponent, char *buffer_copy_space, int space_size, Vector< const char > *trimmed, int *updated_exponent)
 
static uint64_t double_conversion::ReadUint64 (Vector< const char > buffer, int *number_of_read_digits)
 
static void double_conversion::ReadDiyFp (Vector< const char > buffer, DiyFp *result, int *remaining_decimals)
 
static bool double_conversion::DoubleStrtod (Vector< const char > trimmed, int exponent, double *result)
 
static DiyFp double_conversion::AdjustmentPowerOfTen (int exponent)
 
static bool double_conversion::DiyFpStrtod (Vector< const char > buffer, int exponent, double *result)
 
static int double_conversion::CompareBufferWithDiyFp (Vector< const char > buffer, int exponent, DiyFp diy_fp)
 
static bool double_conversion::ComputeGuess (Vector< const char > trimmed, int exponent, double *guess)
 
static bool double_conversion::IsDigit (const char d)
 
static bool double_conversion::IsNonZeroDigit (const char d)
 
static bool double_conversion::AssertTrimmedDigits (const Vector< const char > &buffer)
 
double double_conversion::StrtodTrimmed (Vector< const char > trimmed, int exponent)
 
double double_conversion::Strtod (Vector< const char > buffer, int exponent)
 
static float double_conversion::SanitizedDoubletof (double d)
 
float double_conversion::Strtof (Vector< const char > buffer, int exponent)
 
float double_conversion::StrtofTrimmed (Vector< const char > trimmed, int exponent)
 

Variables

static const int double_conversion::kMaxUint64DecimalDigits = 19
 
static const int double_conversion::kMaxDecimalPower = 309
 
static const int double_conversion::kMinDecimalPower = -324
 
static const uint64_t double_conversion::kMaxUint64 = DOUBLE_CONVERSION_UINT64_2PART_C(0xFFFFFFFF, FFFFFFFF)
 
static const int double_conversion::kMaxSignificantDecimalDigits = 780