Searched refs:log_2 (Results 1 – 7 of 7) sorted by relevance
134 const int log_2 = ((x >> 23) & 255) - 128; in dcn_bw_log() local142 return (a + log_2) / dcn_bw_log(b, 2); in dcn_bw_log()144 return (a + log_2); in dcn_bw_log()
112 const int log_2 = ((x >> 23) & 255) - 128; in math_log() local120 return (a + log_2) / math_log(b, 2); in math_log()122 return (a + log_2); in math_log()
48 static inline unsigned int log_2(unsigned int num) in log_2() function
13 | OUTPUT: log_10(X) or log_2(X) returned in floating-point91 | Step 4. Compute log_2(X) = log(X) * (1/log(2)).
42 | 3. Set y := X*log_2(10)*64 (base 2 log of 10). Set
33 const int log_2 = ((x >> 23) & 255) - 128; in _log() local41 return (in + log_2); in _log()
8656 # fp0 = log_10(X) or log_2(X) #8724 # Step 4. Compute log_2(X) = log(X) * (1/log(2)). #8848 # 3. Set y := X*log_2(10)*64 (base 2 log of 10). Set #