MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / SDL_PrintLongLong

Function SDL_PrintLongLong

deps/SDL2/src/stdlib/SDL_string.c:1518–1530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1516}
1517
1518static size_t
1519SDL_PrintLongLong(char *text, size_t maxlen, SDL_FormatInfo *info, Sint64 value)
1520{
1521 char num[130], *p = num;
1522
1523 if (info->force_sign && value >= (Sint64)0) {
1524 *p++ = '+';
1525 }
1526
1527 SDL_lltoa(value, p, info ? info->radix : 10);
1528 SDL_IntPrecisionAdjust(num, maxlen, info);
1529 return SDL_PrintString(text, maxlen, info, num);
1530}
1531
1532static size_t
1533SDL_PrintUnsignedLongLong(char *text, size_t maxlen, SDL_FormatInfo *info, Uint64 value)

Callers 1

SDL_vsnprintfFunction · 0.85

Calls 3

SDL_lltoaFunction · 0.85
SDL_IntPrecisionAdjustFunction · 0.85
SDL_PrintStringFunction · 0.85

Tested by

no test coverage detected