10 #ifndef SRC_INCLUDE_NUMERICS_H_ 11 #define SRC_INCLUDE_NUMERICS_H_ 70 #endif // SRC_INCLUDE_NUMERICS_H_ constexpr double really_small
Numerical error tolerance.
bool almost_equal(const N x, const N y)
Checks two numbers for relative approximate equality.
Collection of useful constants that are known at compile time.
bool almost_equal_physics(const N x, const N y)
Same as smash::almost_equal, but for physical checks like energy-momentum conservation small_number i...
constexpr double small_number
Physical error tolerance.