Home
last modified time | relevance | path

Searched refs:num_decimal (Results 1 – 1 of 1) sorted by relevance

/DragonOS/kernel/src/libs/
H A Dprintk.c532 uint64_t num_decimal = (uint64_t)(round(1.0 * (num - num_z) * pow(10, precision))); // 获取小数部分 in write_float_point_num() local
546 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()