/* Tables for fixed point lookup with 18 bit precision*/ static int fsintab[TRIG_TAB_SIZE]= { 262144, 185363, 100318, 51141, 25694, 12862, 6433, 3216, 1608, 804, 402, 201, 100, 50, 25, 12, 6, 3, 0, 0, 0, 0 }; static int fcostab[TRIG_TAB_SIZE]= { 0, 185363, 242189, 257106, 260881, 261828, 262065, 262124, 262139, 262142, 262143, 262143, 262143, 262143, 262143, 262143, 262143, 262143, 0, 0, 0, 0 };