At 10:45 AM 12/25/2006, Scott wrote: >Hi Robert, > >If the implementation of the arctan is for a PIC, then you may wish to >consider: > >http://www.dattalo.com/technical/software/pic/arctan.asm > >This also has a similar error (~1/200) and doesn't involve any annoying >division. On the other hand, the returned result is in normalized radians >and thus may require an addition multiplication to convert to what ever >units you're using. (However, it should be pointed out that the lookup >table can be converted into other units). Thanks, Scott. I'll implement my formula and compare to yours in terms of complexity and space. I'll post the program when I'm done. ================================================================ Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: ral@lcfltd.com Least Cost Formulations, Ltd. URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239 Fax: 757-467-2947 "Vere scire est per causas scire" ================================================================ -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist