Content originally posted in LPCWare by SD Kumbhar on Mon Apr 07 01:36:05 MST 2014
We are using LPC812 20pin tssop processor.
We are using formula containing multiply, divide, square , sqaure root & arctan fucntions. We found other calculations are correct & givinh OK result however arctan function always returns 0 value.
formala used : x = arctan( ax /sqrt( pow ( ay,2) + pow(az,2) )
Can somebody suggest any alternate librray function for arctan function which we can use in LPCexpresso ?