c++ Programming Glossary: fixed_resolution_shift
How to improve fixed point square-root for small values http://stackoverflow.com/questions/8721022/how-to-improve-fixed-point-square-root-for-small-values a_squared 1LL max_shift unsigned b_shift max_shift fixed_resolution_shift 2 uint64_t a 1LL b_shift uint64_t x m_nVal while b_shift a_squared.. while remainder b_shift uint64_t b_squared 1LL 2 b_shift fixed_resolution_shift int const two_a_b_shift b_shift 1 fixed_resolution_shift uint64_t.. fixed_resolution_shift int const two_a_b_shift b_shift 1 fixed_resolution_shift uint64_t two_a_b two_a_b_shift 0 a two_a_b_shift a two_a_b_shift..
|