Searched refs:log2n (Results 1 – 1 of 1) sorted by relevance
12 s32 log2n = -1; in log_2_n_round_up() local16 log2n++; in log_2_n_round_up()21 return log2n + 1; /* not power of 2 - round up */ in log_2_n_round_up()23 return log2n; /* power of 2 */ in log_2_n_round_up()28 s32 log2n = -1; in log_2_n_round_down() local32 log2n++; in log_2_n_round_down()36 return log2n; in log_2_n_round_down()
Completed in 3 milliseconds