rapidjson::internal
Engine/source/persistence/rapidjson/internal/pow10.h
Classes:
class
A type-unsafe stack for storing different types of data.
Public Functions
Detailed Description
Public Functions
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 | positive/negative exponent. Must <= 308. |
return:
10.0^n
StrLen(const Ch * s)
Custom strlen() which works on different character types.
Parameters:
| Ch | Character type (e.g. char, wchar_t, short) |
| s | Null-terminated input string. |
return:
Number of characters in the string.
note:This has the same semantics as strlen(), the return value is not number of Unicode codepoints.
