Records

Functions

  • const char * GetDigitsLut ()

    Defined at line 23 of file ../../third_party/rapidjson/include/rapidjson/internal/itoa.h

  • double FastPath (double significand, int exp)

    Defined at line 28 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • double Pow10 (int n)

    Computes integer powers of 10 in double (10.0^n).

    This function uses lookup table for fast and accurate results.

    Parameters

    n non-negative exponent. Must <= 308.

    Returns

    10.0^n

    Defined at line 28 of file ../../third_party/rapidjson/include/rapidjson/internal/pow10.h

  • template <typename Ch>
    SizeType StrLen (const Ch * s)

    Custom strlen() which works on different character types.

    Parameters

    s Null-terminated input string.

    Template Parameters

    Ch Character type (e.g. char, wchar_t, short)

    Returns

    Number of characters in the string.

    Defined at line 31 of file ../../third_party/rapidjson/include/rapidjson/internal/strfunc.h

  • uint32_t clzll (uint64_t x)

    Defined at line 32 of file ../../third_party/rapidjson/include/rapidjson/internal/clzll.h

  • template <typename T>
    void Swap (T & a, T & b)

    Custom swap() to avoid dependency on C++

    <algorithm

    > header

    Template Parameters

    T Type of the arguments to swap, should be instantiated with primitive C++ types only.

    Defined at line 33 of file ../../third_party/rapidjson/include/rapidjson/internal/swap.h

  • void GrisuRound (char * buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w)

    Defined at line 35 of file ../../third_party/rapidjson/include/rapidjson/internal/dtoa.h

  • double StrtodNormalPrecision (double d, int p)

    Defined at line 37 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • template <>
    SizeType StrLen<char> (const char * s)

    Defined at line 38 of file ../../third_party/rapidjson/include/rapidjson/internal/strfunc.h

  • char * u32toa (uint32_t value, char * buffer)

    Defined at line 39 of file ../../third_party/rapidjson/include/rapidjson/internal/itoa.h

  • template <>
    SizeType StrLen<wchar_t> (const wchar_t * s)

    Defined at line 43 of file ../../third_party/rapidjson/include/rapidjson/internal/strfunc.h

  • int CountDecimalDigit32 (uint32_t n)

    Defined at line 44 of file ../../third_party/rapidjson/include/rapidjson/internal/dtoa.h

  • template <typename T>
    T Min3 (T a, T b, T c)

    Defined at line 49 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • template <typename Ch>
    int StrCmp (const Ch * s1, const Ch * s2)

    Custom strcmpn() which works on different character types.

    Parameters

    s1 Null-terminated input string.
    s2 Null-terminated input string.

    Template Parameters

    Ch Character type (e.g. char, wchar_t, short)

    Returns

    0 if equal

    Defined at line 55 of file ../../third_party/rapidjson/include/rapidjson/internal/strfunc.h

  • int CheckWithinHalfULP (double b, const BigInteger & d, int dExp)

    Defined at line 56 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • void DigitGen (const DiyFp & W, const DiyFp & Mp, uint64_t delta, char * buffer, int * len, int * K)

    Defined at line 60 of file ../../third_party/rapidjson/include/rapidjson/internal/dtoa.h

  • template <typename Encoding>
    bool CountStringCodePoint (const typename Encoding::Ch * s, SizeType length, SizeType * outCount)

    Returns number of code points in a encoded string.

    Defined at line 64 of file ../../third_party/rapidjson/include/rapidjson/internal/strfunc.h

  • bool StrtodFast (double d, int p, double * result)

    Defined at line 113 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • char * i32toa (int32_t value, char * buffer)

    Defined at line 115 of file ../../third_party/rapidjson/include/rapidjson/internal/itoa.h

  • void Grisu2 (double value, char * buffer, int * length, int * K)

    Defined at line 116 of file ../../third_party/rapidjson/include/rapidjson/internal/dtoa.h

  • char * u64toa (uint64_t value, char * buffer)

    Defined at line 126 of file ../../third_party/rapidjson/include/rapidjson/internal/itoa.h

  • char * WriteExponent (int K, char * buffer)

    Defined at line 130 of file ../../third_party/rapidjson/include/rapidjson/internal/dtoa.h

  • template <typename Ch>
    bool StrtodDiyFp (const Ch * decimals, int dLen, int dExp, double * result)

    Compute an approximation and see if it is within 1/2 ULP

    Defined at line 132 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • char * Prettify (char * buffer, int length, int k, int maxDecimalPlaces)

    Defined at line 154 of file ../../third_party/rapidjson/include/rapidjson/internal/dtoa.h

  • DiyFp GetCachedPowerByIndex (size_t index)

    Defined at line 165 of file ../../third_party/rapidjson/include/rapidjson/internal/diyfp.h

  • template <typename Ch>
    double StrtodBigInteger (double approx, const Ch * decimals, int dLen, int dExp)

    Defined at line 210 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • char * dtoa (double value, char * buffer, int maxDecimalPlaces)

    Defined at line 220 of file ../../third_party/rapidjson/include/rapidjson/internal/dtoa.h

  • DiyFp GetCachedPower (int e, int * K)

    Defined at line 228 of file ../../third_party/rapidjson/include/rapidjson/internal/diyfp.h

  • template <typename Ch>
    double StrtodFullPrecision (double d, int p, const Ch * decimals, size_t length, size_t decimalPosition, int exp)

    Defined at line 229 of file ../../third_party/rapidjson/include/rapidjson/internal/strtod.h

  • DiyFp GetCachedPower10 (int exp, int * outExp)

    Defined at line 242 of file ../../third_party/rapidjson/include/rapidjson/internal/diyfp.h

  • char * i64toa (int64_t valuechar * buffer)

    Defined at line 294 of file ../../third_party/rapidjson/include/rapidjson/internal/itoa.h