Commit e6a36f98 authored by Martin Marinov's avatar Martin Marinov

Merge commit '253d7417' into marinom/merge-from-ReForm

parents 66b436b4 253d7417
Pipeline #15406 passed with stages
in 4 minutes and 12 seconds
......@@ -75,15 +75,15 @@ inline double round_residue(const double _x)
//! get if _x is rounded within _tol
inline double rounded(const double _x, const double _tol)
inline bool is_rounded(const double _x, const double _tol)
return round_residue(_x) <= _tol;
//! compare two double values within _tol
inline bool same(const double _x, const double _y, const double _tol)
inline bool are_same(const double _x, const double _y, const double _tol)
return fabs(_x - _y) < _tol;
return fabs(_x - _y) <= _tol;
//! get _a * _a
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment