Go to the source code of this file.
#define ABORT |
( |
| ) |
fflush(stderr);fflush(stdout);abort(); |
#define DEBUGMSG |
( |
|
testargs | ) |
|
#define ERROR |
( |
|
CODE, |
|
|
|
MESSAGE |
|
) |
| |
Value:
Definition at line 66 of file util.h.
#define FABS |
( |
|
a | ) |
( ((a)<0) ? -(a) : (a) ) |
#define FREE |
( |
|
x | ) |
{if (x) {free((char *)(x));(x) = 0;}} |
#define MALLOC |
( |
|
x | ) |
calloc(1,(unsigned)(x)) |
Definition at line 9 of file util.h.
#define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) > (b) ? (a) : (b)) |
#define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
#define NEW |
( |
|
TYPE | ) |
((TYPE *) MALLOC(sizeof(TYPE))) |
Value: (B) = 0; \
(B) += 1; \
(A) /= 2.0; \
(B) -= 1; \
(A) *= 2.0; \
} \
} \
}
while(TDesc->tSucc!=NULL)
Definition at line 78 of file util.h.
#define REALLOC |
( |
|
x, |
|
|
|
y |
|
) |
| trealloc((char *)(x),(unsigned)(y)) |
#define SIGN |
( |
|
a, |
|
|
|
b |
|
) |
| ( b >= 0 ? (a >= 0 ? a : - a) : (a >= 0 ? - a : a)) |