1 #ifndef RIVET_Math_MathHeader
2 #define RIVET_Math_MathHeader
18 #elif defined(__GNUC__)
19 # define UNUSED(x) UNUSED_ ## x __attribute__((unused))
20 #elif defined(__LCLINT__)
31 using std::ostringstream;
43 const double MAXDOUBLE = std::numeric_limits<double>::max();
44 const double MAXINT = std::numeric_limits<int>::max();
47 const double PI = M_PI;
56 enum Sign { MINUS = -1, ZERO = 0, PLUS = 1 };
59 enum RapScheme { PSEUDORAPIDITY = 0, ETA = 0, RAPIDITY = 1, YRAP = 1 };