Hi, Spehro wrote: "Not advanced cleverness (more like Grade 12 math class), but if you implement atan(y/x) = theta, you can enlist the aid of Mr. Pythagoras to get the result you want, with one square operation and one square root and one division" The problem in that is the square root. I've sorted it out now after looking into the interpolated table approach and the rough series expansion of pi/2 - x + ((x^3)/6). (The table wins) Cheers again, Dan -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads