Home
last modified time | relevance | path

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

/DragonOS-0.1.8/user/libs/libc/src/
Dprintf.c501 uint64_t num_decimal = (uint64_t)(round(1.0 * (num - num_z) * pow(10, precision))); // 获取小数部分 in write_float_point_num() local
515 while (num_decimal > 0) in write_float_point_num()
517 tmp_num_d[js_num_d++] = digits[num_decimal % 10]; in write_float_point_num()
518 num_decimal /= 10; in write_float_point_num()
/DragonOS-0.1.8/kernel/src/libs/
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()