Home
last modified time | relevance | path

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

/DragonOS/kernel/crates/rbpf/examples/
H A Duptime.rs68 let days = time / 10u64.pow(9) / 60 / 60 / 24; in main()
69 let hours = (time / 10u64.pow(9) / 60 / 60) % 24; in main()
70 let minutes = (time / 10u64.pow(9) / 60) % 60; in main()
71 let seconds = (time / 10u64.pow(9)) % 60; in main()
72 let nanosec = time % 10u64.pow(9); in main()
/DragonOS/kernel/src/common/
H A Dmath.h13 int64_t pow(int64_t x, int y);
H A Dmath.h13 int64_t pow(int64_t x, int y);
/DragonOS/kernel/src/common/math/
H A Dpow.c4 int64_t pow(int64_t x, int y) in pow() function
/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()
/DragonOS/kernel/src/mm/
H A Dpage.rs1291 Arch::PAGE_ENTRY_NUM.pow(table.level as u32), in map_huge_page()