1 /* Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved */
3 /* Including standard libraries */
15 typedef unsigned int uint;
16 typedef unsigned char uchar;
17 typedef unsigned short ushort;
18 typedef long long llong;
33 /* Macros for determining min or max of two given values. */
34 #define MAX( a, b ) a < b ? b : a
35 #define MIN( a, b ) a > b ? b : a
37 /* Macros for abs and int functions. */
38 #define ABS( x ) ( ( x ) < 0 ) ? -( x ) : ( x )
39 #define INT( x ) ( int ) x
41 /* Neat debug macro. */
45 #define die assert( DEBUG_EXIT )
49 /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> MISC <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
52 /* Function that prints "pong" to stderr. */
55 // /* Return a binary number as a string of 1's and 0's. */
56 // char *bits2string( uint bin );
59 /* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/