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

Function FastPath

rapidjson/internal/strtod.h:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace internal {
25
26inline double FastPath(double significand, int exp) {
27 if (exp < -308)
28 return 0.0;
29 else if (exp >= 0)
30 return significand * internal::Pow10(exp);
31 else
32 return significand / internal::Pow10(-exp);
33}
34
35inline double StrtodNormalPrecision(double d, int p) {
36 if (p < -308) {

Callers 2

StrtodNormalPrecisionFunction · 0.85
StrtodFastFunction · 0.85

Calls 1

Pow10Function · 0.85

Tested by

no test coverage detected