16 #ifndef _SOPLEX_STABLE_SUM_H_ 17 #define _SOPLEX_STABLE_SUM_H_ 19 #include <type_traits> 27 typename std::remove_const<T>::type
sum;
43 operator typename std::remove_const<T>::type()
const 61 #if defined(_MSC_VER) || defined(__INTEL_COMPILER) 62 #pragma float_control( precise, on ) 65 double t = sum + input;
67 double y = (sum - (t - z)) + (input - z);
78 operator double()
const void operator+=(double input)
void operator-=(double input)
void operator+=(const T &input)
Everything should be within this namespace.
std::remove_const< T >::type sum
void operator-=(const T &input)