Added some code from Phil to make this work in Mavericks
Putting the initialization of static constant into the compiled code and not the class declaration. This only worked because of GCC extensions.
Replacing the finite function with isfinite
Replacing the finite function with isfinite
Removing the tr1 stuff from the use of the round function which is in cmath but not tr1
Replacing the finite function with isfinite
Added some code from Phil to make this work in Mavericks
Adding some paretheses to make compiler warnings shut up
Added some code from Phil to make this work in Mavericks
Added some code from Phil to make this work in Mavericks
Added some code from Phil to make this work in Mavericks
Added some code from Phil to make this work in Mavericks