Searched refs:f_log2 (Results 1 – 2 of 2) sorted by relevance
242 int f_log2 = wangs_formula::cubic_log2(kPrecision, pts); in DEF_TEST() local243 REPORTER_ASSERT(r, SkScalarCeilToInt(std::log2(f)) == f_log2); in DEF_TEST()250 int f_log2 = wangs_formula::quadratic_log2(kPrecision, pts); in DEF_TEST() local251 REPORTER_ASSERT(r, SkScalarCeilToInt(std::log2(f)) == f_log2); in DEF_TEST()
68 std::size_t f_log2 = detail::floor_log2(n); in calculate_h_sqrt2() local69 return (2*f_log2) + static_cast<std::size_t>(n >= detail::sqrt2_pow_2xplus1(f_log2)); in calculate_h_sqrt2()