Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
string-to-double.cc File Reference
#include <climits>
#include <locale>
#include <cmath>
#include "string-to-double.h"
#include "ieee.h"
#include "strtod.h"
#include "utils.h"

Go to the source code of this file.

Namespaces

namespace  double_conversion
 

Functions

static bool double_conversion::isWhitespace (int x)
 
template<class Iterator >
static bool double_conversion::AdvanceToNonspace (Iterator *current, Iterator end)
 
static bool double_conversion::isDigit (int x, int radix)
 
static double double_conversion::SignedZero (bool sign)
 
static bool double_conversion::IsDecimalDigitForRadix (int c, int radix)
 
static bool double_conversion::IsCharacterDigitForRadix (int c, int radix, char a_character)
 
template<class Iterator >
static bool double_conversion::Advance (Iterator *it, uc16 separator, int base, Iterator &end)
 
template<class Iterator >
static bool double_conversion::IsHexFloatString (Iterator start, Iterator end, uc16 separator, bool allow_trailing_junk)
 
template<int radix_log_2, class Iterator >
static double double_conversion::RadixStringToIeee (Iterator *current, Iterator end, bool sign, uc16 separator, bool parse_as_hex_float, bool allow_trailing_junk, double junk_string_value, bool read_as_double, bool *result_is_junk)
 

Variables

const int double_conversion::kMaxSignificantDigits = 772
 
static const char double_conversion::kWhitespaceTable7 [] = { 32, 13, 10, 9, 11, 12 }
 
static const int double_conversion::kWhitespaceTable7Length = DOUBLE_CONVERSION_ARRAY_SIZE(kWhitespaceTable7)
 
static const uc16 double_conversion::kWhitespaceTable16 []
 
static const int double_conversion::kWhitespaceTable16Length = DOUBLE_CONVERSION_ARRAY_SIZE(kWhitespaceTable16)