multi_line.h, drop some excess macros
This commit is contained in:
parent
8b98b9b350
commit
cbf31c50c2
|
|
@ -12,25 +12,6 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/************************************************************
|
||||
*
|
||||
* Macros
|
||||
*
|
||||
************************************************************/
|
||||
|
||||
#ifndef MAX
|
||||
#define MAX(x, y) ((x) > (y) ? (x) : (y))
|
||||
#endif
|
||||
#ifndef MIN
|
||||
#define MIN(x, y) ((x) < (y) ? (x) : (y))
|
||||
#endif
|
||||
#ifndef ABS
|
||||
#define ABS(x) ((x) >= 0 ? (x) : (-(x)))
|
||||
#endif
|
||||
#ifndef SGN
|
||||
#define SGN(x) ((x) >= 0 ? (1.0) : (-1.0))
|
||||
#endif
|
||||
|
||||
/************************************************************
|
||||
*
|
||||
* Defines
|
||||
|
|
|
|||
Loading…
Reference in New Issue