Shop OBEX P1 Docs P2 Docs Learn Events
ArcTangent - Anyone have some code? — Parallax Forums

ArcTangent - Anyone have some code?

PhilldapillPhilldapill Posts: 1,283
edited 2009-08-22 03:03 in Propeller 1
Does anyone have some code for an accurate ArcTangent trig function? How about ArcSine and ArcCosine? I did a little integer math in Excel, and then carried it forward into Spin. I'm pretty sure my code is working, but it takes a full 5.6ms to find the angle... Does anyone have a better routine?

Comments

Sign In or Register to comment.