Searched refs:x_log2 (Results 1 – 2 of 2) sorted by relevance
361 const float x_log2 = std::log(x) * (1.0f / std::log(2.0f)); in CheckedLog2() local362 const float x_log2_rounded = TfLiteRound(x_log2); in CheckedLog2()363 const float x_log2_fracpart = x_log2 - x_log2_rounded; in CheckedLog2()
127 int x_log2 = 31 - base::bits::CountLeadingZeros(x_scaled); in RUNTIME_FUNCTION() local128 int x_log10 = ((x_log2 + 1) * 1233) >> 12; in RUNTIME_FUNCTION()