Browse Source

multi_line.h, drop some excess macros

pre-master-46
rlar 10 years ago
parent
commit
cbf31c50c2
  1. 19
      src/include/ngspice/multi_line.h

19
src/include/ngspice/multi_line.h

@ -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…
Cancel
Save