Define Command
|
testing defines More...
Go to the source code of this file.
Macros | |
#define | ABS(x) (((x)>0)?(x):-(x)) |
Computes the absolute value of its argument x. More... | |
#define | MAX(x, y) ((x)>(y)?(x):(y)) |
#define | MIN(x, y) ((x)>(y)?(y):(x)) |
testing defines
This is to test the documentation of defines.
#define ABS | ( | x | ) | (((x)>0)?(x):-(x)) |
Computes the absolute value of its argument x.
x | input value. |
#define MAX | ( | x, | |
y | |||
) | ((x)>(y)?(x):(y)) |
Computes the maximum of x and y.
#define MIN | ( | x, | |
y | |||
) | ((x)>(y)?(y):(x)) |
Computes the minimum of x and y.