MCPcopy Create free account
hub / github.com/chen3feng/toft / OutputInt64AsString

Function OutputInt64AsString

base/string/number.cpp:535–544  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

533
534template <typename OutputIterator>
535OutputIterator OutputInt64AsString(int64_t i, OutputIterator output)
536{
537 uint64_t u = i;
538 if (i < 0)
539 {
540 *output++ = '-';
541 u = -i;
542 }
543 return OutputUInt64AsString(u, output);
544}
545
546///////////////////////////////////////////////////////////////////////////
547// generic interface

Callers 3

OutputIntegerAsStringFunction · 0.85
WriteInt64ToBufferFunction · 0.85
Int64ToStringFunction · 0.85

Calls 1

OutputUInt64AsStringFunction · 0.85

Tested by

no test coverage detected