vendor/bela/src/belatime/duration.cc
wchar_t *Format64(wchar_t *ep, int width, int64_t v) {
  do {
    --width;
    *--ep = L'0' + (v % 10); // contiguous digits
  } while (v /= 10);
  while (--width >= 0) {
    *--ep = L'0'; // zero pad
  }
  return ep;
}
// Formats a positive 64-bit integer in the given field width.  Note that
// it is up to the caller of Format64() to ensure that there is sufficient
// space before ep to hold the conversion.
Formats a positive 64-bit integer in the given field width.  Note that
it is up to the caller of Format64() to ensure that there is sufficient
space before ep to hold the conversion.
Formats a positive 64 - bit integer in the given field width . Note that it is up to the caller of Format64 () to ensure that there is sufficient space before ep to hold the conversion .
wchar_t *Format64(wchar_t *ep, int width, int64_t v) {
  do {
    --width;
    *--ep = L'0' + (v % 10); 
  } while (v /= 10);
  while (--width >= 0) {
    *--ep = L'0'; 
  }
  return ep;
}
wchar_t * Format64 ( wchar_t * ep , int width , int64_t v ) { do { -- width ; * -- ep = L' ' + ( v % 10 ) ; } while ( v /= 10 ) ; while ( -- width >= 0 ) { * -- ep = L' ' ; } return ep ; }
Formats a positive 64-bit integer in the given field width.
Formats a positive 64 - bit integer in the given field width .
// contiguous digits // zero pad