Searched refs:kFastlogNumBits (Results 1 – 4 of 4) sorted by relevance
135 static const int kFastlogNumBits = 10; variable136 static const int kFastlogMask = (1 << kFastlogNumBits) - 1;137 static double log_table_[1<<kFastlogNumBits]; // Constant172 const uint32_t y = x_high >> (20 - kFastlogNumBits) & kFastlogMask; in FastLog2()
60 double Sampler::log_table_[1<<kFastlogNumBits];66 for (int i = 0; i < (1<<kFastlogNumBits); i++) { in PopulateFastLog2Table()67 log_table_[i] = (log(1.0 + static_cast<double>(i+0.5)/(1<<kFastlogNumBits)) in PopulateFastLog2Table()