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

/*! 
   The define ABS computes the absolute value of its argument \a x.
*/
#define ABS(x) (((x)>0)?(x):-(x))