changeset 0 | 42188c7ea2d9 |
-1:000000000000 | 0:42188c7ea2d9 |
---|---|
1 /*! \file define.h |
|
2 \brief testing defines |
|
3 |
|
4 This is to test the documentation of defines. |
|
5 */ |
|
6 |
|
7 /*! |
|
8 \def MAX(x,y) |
|
9 Computes the maximum of \a x and \a y. |
|
10 */ |
|
11 |
|
12 /*! |
|
13 Computes the absolute value of its argument \a x. |
|
14 */ |
|
15 #define ABS(x) (((x)>0)?(x):-(x)) |
|
16 #define MAX(x,y) ((x)>(y)?(x):(y)) |
|
17 #define MIN(x,y) ((x)>(y)?(y):(x)) |
|
18 /*!< Computes the minimum of \a x and \a y. */ |