|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T s
Length: 695 (0x2b7) Types: TextFile Names: »standmacro.h«
└─⟦060c9c824⟧ Bits:30007080 DKUUG TeX 2/12/89 └─⟦this⟧ »./DVIware/laser-setters/quicspool/standard/standmacro.h« └─⟦52210d11f⟧ Bits:30007239 EUUGD2: TeX 3 1992-12 └─⟦af5ba6c8e⟧ »unix3.0/DVIWARE.tar.Z« └─⟦ca79c7339⟧ └─⟦this⟧ »DVIware/laser-setters/quicspool/standard/standmacro.h«
/* $Header: standmacro.h,v 1.1 88/01/15 13:07:14 simpson Rel $ */ /* $Log: standmacro.h,v $ * Revision 1.1 88/01/15 13:07:14 simpson * initial release * * Revision 0.1 87/12/11 18:34:15 simpson * beta test * */ #ifndef STANDARD_MACRO #define STANDARD_MACRO #define MAX(x, y) ((x) > (y) ? (x) : (y)) #define MIN(x, y) ((x) < (y) ? (x) : (y)) #define ABS(x) ((x) < 0 ? -(x) : (x)) #define ROUND(x) ((int)(((x)<0)?((x)-0.5):((x)+0.5))) #define CEILING(x) (((x)>=0)?(int)(x)==(x)?(int)(x):(int)((x)+1):(int)(x)) #define FLOOR(x) (((x)>=0)?(int)(x):(int)(x)==(x)?(int)(x):(int)((x)-1)) #define EQ(s, t) (!strcmp(s, t)) #define EQN(s, t, n) (!strncmp(s, t, n)) #endif STANDARD_MACRO