Searched refs:ceil_log2 (Results 1 – 6 of 6) sorted by relevance
34 EXPECT_LE(floor_log2(value), ceil_log2(value)); in SizeUtilTestValue()35 EXPECT_LE(ceil_log2(value), 8 * sizeof(Integer)); in SizeUtilTestValue()38 EXPECT_EQ(floor_log2(value), ceil_log2(value)); in SizeUtilTestValue()41 EXPECT_EQ(floor_log2(value) + 1, ceil_log2(value)); in SizeUtilTestValue()50 if (ceil_log2(value) < static_cast<int>(8 * sizeof(Integer) - 1)) { in SizeUtilTestValue()51 EXPECT_EQ(value >> ceil_log2(value), is_pot(value) ? 1 : 0); in SizeUtilTestValue()52 EXPECT_EQ(round_up_pot(value), static_cast<Integer>(1) << ceil_log2(value)); in SizeUtilTestValue()
66 Integer ceil_log2(Integer n) { in ceil_log2() function89 return static_cast<Integer>(1) << ceil_log2(value); in round_up_pot()
161 int log2_quotient = floor_log2(num) - ceil_log2(denom); in floor_log2_quotient()187 ceil_log2(cols) - pot_log2(kernel_cols); in GetRectangularness()199 ceil_log2(rows) - pot_log2(kernel_rows); in GetRectangularness()230 candidate_num_full_blocks_log2 - ceil_log2(tentative_thread_count); in GetMultithreadingScore()263 const int total_read_bytes_log2 = ceil_log2(total_read_bytes); in GetCacheLocalityScore()
261 0, ceil_log2(rows) + ceil_log2(cols) + ceil_log2(depth) - kDivisorLog2); in GetTentativeThreadCount()
27 function ceil_log2(a) function38 l = ceil_log2(a);
120 static inline int ceil_log2(limb_t a) in ceil_log2() function2741 pow_tab_len = ceil_log2(n) + 2; /* XXX: check */ in bf_integer_from_radix()2792 extra_bits = ceil_log2(e) * 2 + 1; in bf_mul_pow_radix()2953 radix_bits = ceil_log2(radix); in bf_atof_internal()3334 radix_bits = ceil_log2(radix); in bf_mul_log2_radix()3467 pow_tab_len = (ceil_log2(r_len) + 2) * 2; /* XXX: check */ in bf_integer_to_radix()3475 ceil_log2(radixl)); in bf_integer_to_radix()3524 extra_bits = ceil_log2(e) * 2 + 1; in bf_convert_to_radix()3634 radix_bits = ceil_log2(radix); in output_digits()3728 radix_bits = ceil_log2(radix); in bf_ftoa_internal()[all …]
Completed in 30 milliseconds