Searched refs:maxDecimalPlaces (Results 1 – 3 of 3) sorted by relevance
21 constexpr int maxDecimalPlaces = 324; in Prettify() local34 if (0 > k + maxDecimalPlaces) { in Prettify()37 for (int i = kk + maxDecimalPlaces; i > kk + 1; i--) in Prettify()53 if (length - kk > maxDecimalPlaces) { in Prettify()56 for (int i = maxDecimalPlaces + 1; i > 2; i--) in Prettify()64 else if (kk < -maxDecimalPlaces) { in Prettify()
150 inline char* Prettify(char* buffer, int length, int k, int maxDecimalPlaces) { in Prettify() argument165 if (0 > k + maxDecimalPlaces) { in Prettify()168 for (int i = kk + maxDecimalPlaces; i > kk + 1; i--) in Prettify()184 if (length - kk > maxDecimalPlaces) { in Prettify()187 for (int i = maxDecimalPlaces + 1; i > 2; i--) in Prettify()195 else if (kk < -maxDecimalPlaces) { in Prettify()216 inline char* dtoa(double value, char* buffer, int maxDecimalPlaces = 324) {217 RAPIDJSON_ASSERT(maxDecimalPlaces >= 1);234 return Prettify(buffer, length, K, maxDecimalPlaces);
163 void SetMaxDecimalPlaces(int maxDecimalPlaces) { in SetMaxDecimalPlaces() argument164 maxDecimalPlaces_ = maxDecimalPlaces; in SetMaxDecimalPlaces()