Searched refs:num_z (Results 1 – 1 of 1) sorted by relevance
531 uint64_t num_z = (uint64_t)(num); // 获取整数部分 in write_float_point_num() local532 uint64_t num_decimal = (uint64_t)(round(1.0 * (num - num_z) * pow(10, precision))); // 获取小数部分 in write_float_point_num()534 if (num == 0 || num_z == 0) in write_float_point_num()539 while (num_z > 0) in write_float_point_num()541 tmp_num_z[js_num_z++] = digits[num_z % 10]; // 注意这里,输出的数字,是小端对齐的。低位存低位 in write_float_point_num()542 num_z /= 10; in write_float_point_num()