C:/Users/Dennis/src/lang/russell.orig/src/arith.h File Reference

Go to the source code of this file.

Defines

#define mod(a, b)   ((a) & ((b) - 1))
#define rounddown(a, b)   ( (a) & ~((b) - 1) )
#define roundup(n, mult)   rounddown( (n) + (mult) - 1, (mult) )


Define Documentation

#define mod ( a,
 )     ((a) & ((b) - 1))

Definition at line 6 of file arith.h.

Referenced by amatch(), and findmpsig().

#define rounddown ( a,
 )     ( (a) & ~((b) - 1) )

Definition at line 14 of file arith.h.

#define roundup ( n,
mult   )     rounddown( (n) + (mult) - 1, (mult) )

Definition at line 22 of file arith.h.

Referenced by findmpsig(), main(), and stt_alloc().


Generated on Fri Jan 25 10:39:48 2008 for russell by  doxygen 1.5.4