Define Command
Macros
define.h File Reference

testing defines More...

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))
 

Detailed Description

testing defines

This is to test the documentation of defines.

Macro Definition Documentation

◆ ABS

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

Computes the absolute value of its argument x.

◆ MAX

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

Computes the maximum of x and y.

◆ MIN

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

Computes the minimum of x and y.