Square root algorithm

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Square root algorithm

498 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Brinkand on Wed Oct 20 02:49:53 MST 2010
I need a squareroot  function for my LPC1111 application which can take in uint32_t and return uint32_t. I try to avoid floats and the full math library to save flash. I have 2k flash and plenty of RAM available.

Anybody have an idea for a simple algorithm or method?
0 Kudos
Reply
1 Reply

473 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by domen on Wed Oct 20 02:54:24 MST 2010
http://en.wikipedia.org/wiki/Methods_of_computing_square_roots

Pretty sure you should find something of use.
0 Kudos
Reply