lpcware

Square root algorithm

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
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?

Outcomes