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

Function StrtodNormalPrecision

rapidjson/internal/strtod.h:35–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35inline double StrtodNormalPrecision(double d, int p) {
36 if (p < -308) {
37 // Prevent expSum < -308, making Pow10(p) = 0
38 d = FastPath(d, -308);
39 d = FastPath(d, p + 308);
40 }
41 else
42 d = FastPath(d, p);
43 return d;
44}
45
46template <typename T>
47inline T Min3(T a, T b, T c) {

Callers 1

ParseNumberMethod · 0.85

Calls 1

FastPathFunction · 0.85

Tested by

no test coverage detected