1 /* Including standard libraries */
12 typedef unsigned char uchar;
13 typedef unsigned short ushort;
14 typedef long long llong;
20 /* Macros for determining min or max of two given values. */
21 #define MAX( a, b ) a < b ? b : a
22 #define MIN( a, b ) a > b ? b : a
24 /* Macros for abs and int functions. */
25 #define ABS( x ) ( ( x ) < 0 ) ? -( x ) : ( x )
26 #define INT( x ) ( int ) x
28 /* Neat debug macro. */
30 #define die assert( DEBUG_EXIT )
33 /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> MISC <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
36 /* Return a binary number as a string of 1's and 0's. */
37 char *bits2string( uint bin );
40 /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/