Bryan Mumford wrote: > I need to do sin() and cos() functions in a PIC chip, but much faster > than the 3 ms time required by the CCS C compiler. Any advice on how > this is done with less precision and much more speed? I need > three-byte integers. Bryan, I'm confused. The functions sin and cos evaluate to values in the range -1 to 1. What do you mean by three-byte INTEGERS? Do you really just want the sign of the function? Assuming that what you really want is a floating or fixed point real, how much precision does the CCS C compiler give you? How many bits of accuracy do you need? How fast do you need it to be? Regards, Dave -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body