¡@

Home 

c++ Programming Glossary: a_squared

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

fixed sqrt const unsigned const max_shift 62 uint64_t 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 x a 1 a_squared 2 b_shift uint64_t remainder x a_squared b_shift.. b_shift uint64_t x m_nVal while b_shift a_squared x a 1 a_squared 2 b_shift uint64_t remainder x a_squared b_shift while remainder..