Macros
define.h File Reference

Go to the source code of this file.

Macros

#define ABS(x)   (((x)>0)?(x):-(x))
 
#define MAX(x, y)   ((x)>(y)?(x):(y))
 
#define MIN(x, y)   ((x)>(y)?(y):(x))
 

Macro Definition Documentation

#define ABS (   x)    (((x)>0)?(x):-(x))

Computes the absolute value of its argument x.

Definition at line 15 of file define.h.

#define MAX (   x,
 
)    ((x)>(y)?(x):(y))

Computes the maximum of x and y.

Definition at line 16 of file define.h.

#define MIN (   x,
 
)    ((x)>(y)?(y):(x))

Computes the minimum of x and y.

Definition at line 17 of file define.h.