Searched refs:number_buffer (Results 1 – 1 of 1) sorted by relevance
560 unsigned char number_buffer[26] = {0}; /* temporary buffer to print the number into */ in print_number() local572 length = sprintf((char*)number_buffer, "null"); in print_number()577 length = sprintf((char*)number_buffer, "%1.15g", d); in print_number()580 if ((sscanf((char*)number_buffer, "%lg", &test) != 1) || !compare_double((double)test, d)) in print_number()583 length = sprintf((char*)number_buffer, "%1.17g", d); in print_number()588 if ((length < 0) || (length > (int)(sizeof(number_buffer) - 1))) in print_number()604 if (number_buffer[i] == decimal_point) in print_number()610 output_pointer[i] = number_buffer[i]; in print_number()