The old code confuses various style programs, including our own
fixcc.py (it produces un-compilable code!). In particular:
-----
const Real infinity_f
= #ifdef
-----
which makes gcc unhapy.
The new format is easy for style programs to deal with, still
compiles, and is IMO just as clear anyway.
#include <cmath>
using namespace std;
-const Real infinity_f =
#ifdef INFINITY
- INFINITY
+const Real infinity_f = INFINITY;
#else
- HUGE_VAL
+const Real infinity_f = HUGE_VAL;
#endif
- ;
-
+