On Thu, 2004-09-23 at 17:30, Ted Larson wrote: > Anyone know where I can find some 'C' source for a sine function that uses a > larger lookup table for more accurate results? I am using the CCS C > compiler, and the results get pretty inaccurate when dealing with very small > numbers. Do you only care about the extra accuracy when x is small? If so, remember that sin(x) ~= x when x is small, perhaps you can just use x below a certain value of x. TTYL ----------------------------- Herbert's PIC Stuff: http://repatch.dyndns.org:8383/pic_stuff/ _______________________________________________ http://www.piclist.com View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist