What does means 'maxRelDiff' parameter?I looked at the source code of this method and I still didn't get it.
return fabs((lhs - rhs) / rhs) <= maxRelDiff || maxAbsDiff != 0 && fabs(lhs - rhs) <= maxAbsDiff; In what cases can I use this parameter?
What does means 'maxRelDiff' parameter?I looked at the source code of this method and I still didn't get it.
return fabs((lhs - rhs) / rhs) <= maxRelDiff || maxAbsDiff != 0 && fabs(lhs - rhs) <= maxAbsDiff; In what cases can I use this parameter?