fixed 212 lib/lua/ldo.c StkId base, fixed; fixed 229 lib/lua/ldo.c fixed = L->top - actual; /* first fixed argument */ fixed 232 lib/lua/ldo.c setobjs2s(L, L->top++, fixed+i); fixed 233 lib/lua/ldo.c setnilvalue(fixed+i); fixed 68 lib/lua/limathlib.c fixed px, py; fixed 92 lib/lua/limathlib.c fixed r, theta; fixed 117 lib/lua/limathlib.c fixed px, py; fixed 141 lib/lua/limathlib.c fixed r, theta; fixed 17 modules/cordic_math.c fixed atan_tab[][M] = { fixed 21 modules/cordic_math.c fixed INV_GAIN_CIRCLE[] = {0x136e9, 0x136e8}; // {0.60725, 0.60724} fixed 22 modules/cordic_math.c fixed FULL_CIRCLE[] = {0xc90fd, 0x2d00000}; // {6.28318, 360.00000} fixed 23 modules/cordic_math.c fixed HALF_CIRCLE[] = {0x6487e, 0x1680000}; // {3.14159, 180.00000} fixed 24 modules/cordic_math.c fixed QUART_CIRCLE[] = {0x3243f, 0xb40000}; // {1.57079, 90.00000} fixed 25 modules/cordic_math.c fixed ATAN_LIMIT = 0x36f602be; // 7035.00536 fixed 26 modules/cordic_math.c fixed FIXED_MAX = 16383.99999; fixed 29 modules/cordic_math.c static void cordic(tangle t, fcordic f, fixed *x, fixed *y, fixed *z) { fixed 58 modules/cordic_math.c LUALIB_API fixed muldivScaled(fixed a, fixed b, fixed c) { fixed 74 modules/cordic_math.c static fixed mulScaled(fixed a, fixed b) { fixed 78 modules/cordic_math.c static fixed divScaled(fixed a, fixed b) { fixed 82 modules/cordic_math.c static fixed cathetus(fixed x) { fixed 87 modules/cordic_math.c static void sincosCordic(tangle t, fixed phi, fixed *sinphi, fixed *cosphi) { fixed 96 modules/cordic_math.c fixed x = INV_GAIN_CIRCLE[t], y = 0, z = phi; fixed 106 modules/cordic_math.c static void atanhypCordic(tangle t, fixed px, fixed py, fixed *phi, fixed *hyp) { fixed 132 modules/cordic_math.c fixed x = px, y = py, z = 0; fixed 146 modules/cordic_math.c static fixed sinCordic(tangle t, fixed phi) { fixed 147 modules/cordic_math.c fixed _sin, _cos; fixed 152 modules/cordic_math.c static fixed cosCordic(tangle t, fixed phi) { fixed 153 modules/cordic_math.c fixed _sin, _cos; fixed 158 modules/cordic_math.c static fixed tanCordic(tangle t, fixed phi) { fixed 159 modules/cordic_math.c fixed _sin, _cos; fixed 164 modules/cordic_math.c static void recCordic(tangle t, fixed r, fixed theta, fixed *px, fixed *py) { fixed 165 modules/cordic_math.c fixed _sin, _cos; fixed 172 modules/cordic_math.c static fixed asinCordic(tangle t, fixed x) { fixed 173 modules/cordic_math.c fixed phi, hyp; fixed 174 modules/cordic_math.c fixed _cos = cathetus(x); fixed 179 modules/cordic_math.c static fixed acosCordic(tangle t, fixed x) { fixed 180 modules/cordic_math.c fixed phi, hyp; fixed 181 modules/cordic_math.c fixed _sin = cathetus(x); fixed 186 modules/cordic_math.c static fixed atanCordic(tangle t, fixed x) { fixed 187 modules/cordic_math.c fixed phi, hyp; fixed 192 modules/cordic_math.c static void polCordic(tangle t, fixed px, fixed py, fixed *r, fixed *theta) { fixed 193 modules/cordic_math.c fixed phi, hyp; fixed 201 modules/cordic_math.c LUALIB_API fixed sind(fixed phi) { fixed 205 modules/cordic_math.c LUALIB_API fixed cosd(fixed phi) { fixed 209 modules/cordic_math.c LUALIB_API fixed tand(fixed phi) { fixed 213 modules/cordic_math.c LUALIB_API void recd(fixed r, fixed theta, fixed *px, fixed *py) { fixed 217 modules/cordic_math.c LUALIB_API fixed asind(fixed x) { fixed 221 modules/cordic_math.c LUALIB_API fixed acosd(fixed x) { fixed 225 modules/cordic_math.c LUALIB_API fixed atand(fixed x) { fixed 229 modules/cordic_math.c LUALIB_API void pold(fixed px, fixed py, fixed *r, fixed *theta) { fixed 234 modules/cordic_math.c LUALIB_API fixed sinr(fixed phi) { fixed 238 modules/cordic_math.c LUALIB_API fixed cosr(fixed phi) { fixed 242 modules/cordic_math.c LUALIB_API fixed tanr(fixed phi) { fixed 246 modules/cordic_math.c LUALIB_API void recr(fixed r, fixed theta, fixed *px, fixed *py) { fixed 250 modules/cordic_math.c LUALIB_API fixed asinr(fixed x) { fixed 254 modules/cordic_math.c LUALIB_API fixed acosr(fixed x) { fixed 258 modules/cordic_math.c LUALIB_API fixed atanr(fixed x) { fixed 262 modules/cordic_math.c LUALIB_API void polr(fixed px, fixed py, fixed *r, fixed *theta) { fixed 267 modules/cordic_math.c LUALIB_API fixed fint(fixed a) { fixed 271 modules/cordic_math.c LUALIB_API fixed fceil(fixed a) { fixed 272 modules/cordic_math.c fixed int_a = fint(a); fixed 276 modules/cordic_math.c LUALIB_API fixed ffloor(fixed a) { fixed 277 modules/cordic_math.c fixed int_a = fint(a); fixed 281 modules/cordic_math.c LUALIB_API fixed fround(fixed a) { fixed 286 modules/cordic_math.c LUALIB_API fixed floatToFixed(double a) { fixed 299 modules/cordic_math.c LUALIB_API fixed intToFixed(int4b a, int round) { fixed 310 modules/cordic_math.c LUALIB_API int4b fixedToInt(fixed a, int round) { fixed 65 modules/cordic_math.h LUAI_DATA fixed FULL_CIRCLE[]; fixed 66 modules/cordic_math.h LUAI_DATA fixed HALF_CIRCLE[]; fixed 67 modules/cordic_math.h LUAI_DATA fixed QUART_CIRCLE[]; fixed 69 modules/cordic_math.h LUALIB_API fixed floatToFixed(double a); fixed 70 modules/cordic_math.h LUALIB_API fixed intToFixed(int4b a, int round); fixed 71 modules/cordic_math.h LUALIB_API int4b fixedToInt(fixed a, int round); fixed 73 modules/cordic_math.h LUALIB_API fixed muldivScaled(fixed a, fixed b, fixed c); fixed 75 modules/cordic_math.h LUALIB_API fixed sind(fixed phi); fixed 76 modules/cordic_math.h LUALIB_API fixed cosd(fixed phi); fixed 77 modules/cordic_math.h LUALIB_API fixed tand(fixed phi); fixed 78 modules/cordic_math.h LUALIB_API void recd(fixed r, fixed theta, fixed *px, fixed *py); fixed 79 modules/cordic_math.h LUALIB_API fixed asind(fixed x); fixed 80 modules/cordic_math.h LUALIB_API fixed acosd(fixed x); fixed 81 modules/cordic_math.h LUALIB_API fixed atand(fixed x); fixed 82 modules/cordic_math.h LUALIB_API void pold(fixed px, fixed py, fixed *r, fixed *theta); fixed 84 modules/cordic_math.h LUALIB_API fixed sinr(fixed phi); fixed 85 modules/cordic_math.h LUALIB_API fixed cosr(fixed phi); fixed 86 modules/cordic_math.h LUALIB_API fixed tanr(fixed phi); fixed 87 modules/cordic_math.h LUALIB_API void recr(fixed r, fixed theta, fixed *px, fixed *py); fixed 88 modules/cordic_math.h LUALIB_API fixed asinr(fixed x); fixed 89 modules/cordic_math.h LUALIB_API fixed acosr(fixed x); fixed 90 modules/cordic_math.h LUALIB_API fixed atanr(fixed x); fixed 91 modules/cordic_math.h LUALIB_API void polr(fixed px, fixed py, fixed *r, fixed *theta); fixed 93 modules/cordic_math.h LUALIB_API fixed fint(fixed a); fixed 94 modules/cordic_math.h LUALIB_API fixed fceil(fixed a); fixed 95 modules/cordic_math.h LUALIB_API fixed ffloor(fixed a); fixed 96 modules/cordic_math.h LUALIB_API fixed fround(fixed a);