src/globals/utils.c
char* unsstr64c(uns64 value) {
  static char uns64_buffer[MAX_SIMULTANEOUS_STRINGS][MAX_STR_LENGTH + 1];
  static int  counter = 0;
  char        buffer[MAX_STR_LENGTH + 1];
  char *      temp, *temp2, *temp3;
  uns         comma_count = 0;

  counter                = CIRC_INC2(counter, MAX_SIMULTANEOUS_STRINGS);
  buffer[MAX_STR_LENGTH] = '\0';
  uns64_buffer[counter][MAX_STR_LENGTH] = '\0';
  temp = print_ull_guts(&buffer[MAX_STR_LENGTH - 1], value, 1);

  for(temp2 = &buffer[MAX_STR_LENGTH - 1],
  temp3     = &uns64_buffer[counter][MAX_STR_LENGTH - 1];
      temp2 >= temp; temp2--, temp3--) {
    *temp3 = *temp2;
    comma_count++;
    if(comma_count == 3 && temp2 != temp) {
      temp3--;
      *temp3      = ',';
      comma_count = 0;
    }
  }
  return temp3 + 1;
}
/**************************************************************************************/
/* unsstr64c:  Prints a 64-bit number in decimal format with commas. */
Prints a 64-bit number in decimal format with commas.
Prints a 64 - bit number in decimal format with commas .
char* unsstr64c(uns64 value) {
  static char uns64_buffer[MAX_SIMULTANEOUS_STRINGS][MAX_STR_LENGTH + 1];
  static int  counter = 0;
  char        buffer[MAX_STR_LENGTH + 1];
  char *      temp, *temp2, *temp3;
  uns         comma_count = 0;
  counter                = CIRC_INC2(counter, MAX_SIMULTANEOUS_STRINGS);
  buffer[MAX_STR_LENGTH] = '\0';
  uns64_buffer[counter][MAX_STR_LENGTH] = '\0';
  temp = print_ull_guts(&buffer[MAX_STR_LENGTH - 1], value, 1);
  for(temp2 = &buffer[MAX_STR_LENGTH - 1],
  temp3     = &uns64_buffer[counter][MAX_STR_LENGTH - 1];
      temp2 >= temp; temp2--, temp3--) {
    *temp3 = *temp2;
    comma_count++;
    if(comma_count == 3 && temp2 != temp) {
      temp3--;
      *temp3      = ',';
      comma_count = 0;
    }
  }
  return temp3 + 1;
}
char * unsstr64c ( uns64 value ) { static char uns64_buffer [ MAX_SIMULTANEOUS_STRINGS ] [ MAX_STR_LENGTH + 1 ] ; static int counter = 0 ; char buffer [ MAX_STR_LENGTH + 1 ] ; char * temp , * temp2 , * temp3 ; uns comma_count = 0 ; counter = CIRC_INC2 ( counter , MAX_SIMULTANEOUS_STRINGS ) ; buffer [ MAX_STR_LENGTH ] = ' \0 ' ; uns64_buffer [ counter ] [ MAX_STR_LENGTH ] = ' \0 ' ; temp = print_ull_guts ( & buffer [ MAX_STR_LENGTH - 1 ] , value , 1 ) ; for ( temp2 = & buffer [ MAX_STR_LENGTH - 1 ] , temp3 = & uns64_buffer [ counter ] [ MAX_STR_LENGTH - 1 ] ; temp2 >= temp ; temp2 -- , temp3 -- ) { * temp3 = * temp2 ; comma_count ++ ; if ( comma_count == 3 && temp2 != temp ) { temp3 -- ; * temp3 = ' ' ; comma_count = 0 ; } } return temp3 + 1 ; }
unsstr64c:  Prints a 64-bit number in decimal format with commas.
unsstr64c : Prints a 64 - bit number in decimal format with commas .