summaryrefslogtreecommitdiffstats
path: root/examples/define.h
blob: 9a8e4d0cdf241d341cf76d1ee53acc56c8eb27a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*! \file define.h
    \brief testing defines
    
    This is to test the documentation of defines.
*/

/*! \def ABS(x)
   The define ABS computes the absolute value of its argument \a x.
*/

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