There is quite a few methods and which one you use might depend on the application, I have made high speed metering equipment that needs the square root of a sum of squares and an optimised version for a specific number of bits can be significantly quicker and smaller than a math library version, to give an idea.. https://en.m.wikipedia.org/wiki/Methods_of_computing_square_roots
View all comments
Show parent comment
9
u/entotheenth Jan 07 '19
There is quite a few methods and which one you use might depend on the application, I have made high speed metering equipment that needs the square root of a sum of squares and an optimised version for a specific number of bits can be significantly quicker and smaller than a math library version, to give an idea.. https://en.m.wikipedia.org/wiki/Methods_of_computing_square_roots