Searched refs:num_decimal (Results 1 – 2 of 2) sorted by relevance
499 uint64_t num_decimal = (uint64_t)(round(1.0 * (num - num_z) * pow(10, precision))); // 获取小数部分 in write_float_point_num() local513 while (num_decimal > 0) in write_float_point_num()515 tmp_num_d[js_num_d++] = digits[num_decimal % 10]; in write_float_point_num()516 num_decimal /= 10; in write_float_point_num()
532 uint64_t num_decimal = (uint64_t)(round(1.0 * (num - num_z) * pow(10, precision))); // 获取小数部分 in write_float_point_num() local546 while (num_decimal > 0) in write_float_point_num()548 tmp_num_d[js_num_d++] = digits[num_decimal % 10]; in write_float_point_num()549 num_decimal /= 10; in write_float_point_num()