![]() |
VR-Vantage 3.1 API Documentation
|
Typedefs | |
| typedef GenericRegex< UTF8<> > | Regex |
Functions | |
| DiyFp | GetCachedPowerByIndex (size_t index) |
| DiyFp | GetCachedPower (int e, int *K) |
| DiyFp | GetCachedPower10 (int exp, int *outExp) |
| void | GrisuRound (char *buffer, int len, uint64_t delta, uint64_t rest, uint64_t ten_kappa, uint64_t wp_w) |
| unsigned | CountDecimalDigit32 (uint32_t n) |
| void | DigitGen (const DiyFp &W, const DiyFp &Mp, uint64_t delta, char *buffer, int *len, int *K) |
| void | Grisu2 (double value, char *buffer, int *length, int *K) |
| char * | WriteExponent (int K, char *buffer) |
| char * | Prettify (char *buffer, int length, int k, int maxDecimalPlaces) |
| char * | dtoa (double value, char *buffer, int maxDecimalPlaces=324) |
| const char * | GetDigitsLut () |
| char * | u32toa (uint32_t value, char *buffer) |
| char * | i32toa (int32_t value, char *buffer) |
| char * | u64toa (uint64_t value, char *buffer) |
| char * | i64toa (int64_t value, char *buffer) |
| double | Pow10 (int n) |
| Computes integer powers of 10 in double (10.0^n). | |
| template<typename Ch > | |
| SizeType | StrLen (const Ch *s) |
| Custom strlen() which works on different character types. | |
| template<typename Encoding > | |
| bool | CountStringCodePoint (const typename Encoding::Ch *s, SizeType length, SizeType *outCount) |
| Returns number of code points in a encoded string. | |
| double | FastPath (double significand, int exp) |
| double | StrtodNormalPrecision (double d, int p) |
| template<typename T > | |
| T | Min3 (T a, T b, T c) |
| int | CheckWithinHalfULP (double b, const BigInteger &d, int dExp) |
| bool | StrtodFast (double d, int p, double *result) |
| bool | StrtodDiyFp (const char *decimals, size_t length, size_t decimalPosition, int exp, double *result) |
| double | StrtodBigInteger (double approx, const char *decimals, size_t length, size_t decimalPosition, int exp) |
| double | StrtodFullPrecision (double d, int p, const char *decimals, size_t length, size_t decimalPosition, int exp) |
| template<typename T > | |
| void | Swap (T &a, T &b) RAPIDJSON_NOEXCEPT |
| Custom swap() to avoid dependency on C++ <algorithm> header. | |
Variables | |
| static const SizeType | kRegexInvalidState = ~SizeType(0) |
| Represents an invalid index in GenericRegex::State::out, out1. | |
| static const SizeType | kRegexInvalidRange = ~SizeType(0) |
| typedef GenericRegex<UTF8<> > internal::Regex |
|
inline |
References RAPIDJSON_UINT64_C2.
Referenced by GetCachedPower(), and GetCachedPower10().
References exprtk::details::numeric::constant::e, and GetCachedPowerByIndex().
Referenced by Grisu2().
References GetCachedPowerByIndex().
Referenced by StrtodDiyFp().
|
inline |
Referenced by DigitGen().
|
inline |
Referenced by DigitGen().
|
inline |
References CountDecimalDigit32(), internal::DiyFp::e, internal::DiyFp::f, and GrisuRound().
Referenced by Grisu2().
References DigitGen(), internal::DiyFp::e, internal::DiyFp::f, GetCachedPower(), internal::DiyFp::Normalize(), and internal::DiyFp::NormalizedBoundaries().
Referenced by dtoa().
|
inline |
References GetDigitsLut().
Referenced by Prettify().
References WriteExponent().
Referenced by dtoa().
|
inline |
|
inline |
Referenced by u32toa(), u64toa(), and WriteExponent().
|
inline |
|
inline |
References u32toa().
Referenced by Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::WriteInt().
|
inline |
|
inline |
References u64toa().
Referenced by Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::WriteInt64().
|
inline |
Computes integer powers of 10 in double (10.0^n).
This function uses lookup table for fast and accurate results.
| n | non-negative exponent. Must <= 308. |
References exprtk::details::numeric::constant::e, and RAPIDJSON_ASSERT.
Referenced by FastPath(), and StrtodFast().
|
inline |
Custom strlen() which works on different character types.
| Ch | Character type (e.g. char, wchar_t, short) |
| s | Null-terminated input string. |
References SizeType.
Referenced by GenericPointer< ValueType, Allocator >::GenericPointer(), PrettyWriter< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Key(), Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::Key(), PrettyWriter< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::String(), Writer< OutputStream, SourceEncoding, TargetEncoding, StackAllocator, writeFlags >::String(), and StringRef().
| bool internal::CountStringCodePoint | ( | const typename Encoding::Ch * | s, |
| SizeType | length, | ||
| SizeType * | outCount | ||
| ) |
Returns number of code points in a encoded string.
References SizeType, and GenericStringStream< Encoding >::src_.
|
inline |
References Pow10().
Referenced by StrtodFast(), and StrtodNormalPrecision().
|
inline |
References FastPath().
Referenced by GenericReader< SourceEncoding, TargetEncoding, StackAllocator >::ParseNumber().
|
inline |
Referenced by CheckWithinHalfULP().
References FastPath(), and Pow10().
Referenced by StrtodFullPrecision().
|
inline |
References CheckWithinHalfULP(), internal::Double::NextPositiveDouble(), internal::Double::Significand(), and internal::Double::Value().
Referenced by StrtodFullPrecision().
|
inline |
References RAPIDJSON_ASSERT, StrtodBigInteger(), StrtodDiyFp(), and StrtodFast().
Referenced by GenericReader< SourceEncoding, TargetEncoding, StackAllocator >::ParseNumber().
|
inline |
Custom swap() to avoid dependency on C++ <algorithm> header.
| T | Type of the arguments to swap, should be instantiated with primitive C++ types only. |
Referenced by internal::GenericRegex< Encoding, Allocator >::SearchWithAnchoring(), GenericDocument< Encoding, Allocator, StackAllocator >::Swap(), and SwapValueByPointer().
Represents an invalid index in GenericRegex::State::out, out1.
Referenced by internal::GenericRegex< Encoding, Allocator >::AddState(), internal::GenericRegex< Encoding, Allocator >::Append(), internal::GenericRegex< Encoding, Allocator >::CloneTopOperand(), internal::GenericRegex< Encoding, Allocator >::Eval(), internal::GenericRegex< Encoding, Allocator >::IsValid(), internal::GenericRegex< Encoding, Allocator >::Parse(), internal::GenericRegex< Encoding, Allocator >::Patch(), and internal::GenericRegex< Encoding, Allocator >::PushOperand().