MCPcopy Create free account
hub / github.com/rsc/tmp / ReadUint64

Function ReadUint64

ftoa/dblconv/strtod.cc:151–162  ·  view source on GitHub ↗

Reads digits from the buffer and converts them to a uint64. Reads in as many digits as fit into a uint64. When the string starts with "1844674407370955161" no further digit is read. Since 2^64 = 18446744073709551616 it would still be possible read another digit if it was less or equal than 6, but this would complicate the code.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ReadDiyFpFunction · 0.85
DoubleStrtodFunction · 0.85

Calls 1

lengthMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…