1 /* Useful macros. */ 2 #define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d)) 3 #define ceild(n,d) (((n)<0) ? -((-(n))/(d)) : ((n)+(d)-1)/(d)) 4 #define max(x,y) ((x) > (y) ? (x) : (y)) 5 #define min(x,y) ((x) < (y) ? (x) : (y)) 6 7 #ifdef TIME 8 #define IF_TIME(foo) foo; 9 #else 10 #define IF_TIME(foo) 11 #endif 12 13 /* Scattering iterators. */ 14 int __ii0; 15 16 for (__ii0=0;__ii0<=10;__ii0++) { 17 for (i=4*__ii0;i<=min(41,4*__ii0+3);i++) { 18 S(i); 19 } 20 } 21