MCPcopy Create free account
hub / github.com/cinience/RedisStudio / FullAdd

Method FullAdd

include/rapidjson/internal/biginteger.h:277–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 static Type FullAdd(Type a, Type b, bool inCarry, bool* outCarry) {
278 Type c = a + b + (inCarry ? 1 : 0);
279 *outCarry = c < a;
280 return c;
281 }
282
283 static const size_t kBitCount = 3328; // 64bit * 54 > 10^1000
284 static const size_t kCapacity = kBitCount / sizeof(Type);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected