MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / fixNumericLocaleInput

Function fixNumericLocaleInput

json/jsoncpp.cpp:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191template <typename Iter> void fixNumericLocaleInput(Iter begin, Iter end) {
192 char decimalPoint = getDecimalPoint();
193 if (decimalPoint == '\0' || decimalPoint == '.') {
194 return;
195 }
196 for (; begin != end; ++begin) {
197 if (*begin == '.') {
198 *begin = decimalPoint;
199 }
200 }
201}
202
203/**
204 * Return iterator that would be the new end of the range [begin,end), if we

Callers 1

decodeDoubleMethod · 0.85

Calls 1

getDecimalPointFunction · 0.85

Tested by

no test coverage detected