lib/test/BaseTools/testRootSolver.cpp
// Return true if not within specified tolerance
Return true if not within specified tolerance
Return true if not within specified tolerance
bool checkRootDefaultTol(const Real a_x0, const Real a_root)
{
  return (Abs(a_x0 - a_root) >
          (((Real)4.0)*RootSolver::RootTr<Real>::eps()*Abs(a_root) +
           RootSolver::RootTr<Real>::tolerance()));
}
bool checkRootDefaultTol ( const Real a_x0 , const Real a_root ) { return ( Abs ( a_x0 - a_root ) > ( ( ( Real ) 4.0 ) * RootSolver :: RootTr < Real > :: eps ( ) * Abs ( a_root ) + RootSolver :: RootTr < Real > :: tolerance ( ) ) ) ; }
Return true if not within specified tolerance
Return true if not within specified tolerance