Application Note 18180

Fast square root in C

EW targets: All
EW component: C/C++ compiler
Keywords: algorithm, sqrt
Last update: October 4, 2001

This application note describes a solution for a fast square root routine in C. Both the parameter and the result are 16-bit unsigned ints. Even though it is not 100% precise, the result can be used with many applications in the real world running in real time.

View application note
(PDF, 324 KB)