2 * $Logfile: /Freespace2/code/Math/fix.h $
7 * Routines for fixed point math
10 * Revision 1.1 2002/05/03 03:28:12 root
14 * 2 10/07/98 10:53a Dave
17 * 1 10/07/98 10:49a Dave
19 * 4 2/17/97 5:18p John
20 * Added a bunch of RCS headers to a bunch of old files that don't have
29 //#include "pstypes.h"
34 fix fixmul(fix a, fix b);
35 fix fixdiv(fix a, fix b);
36 fix fixmuldiv(fix a, fix b, fix c);
38 #define f2i(a) ((int)((a)>>16))
39 #define i2f(a) ((fix)((a)<<16))