SheafSystem  0.0.0.0
tolerance_comparison.h File Reference

Interface for class tolerance_comparison. More...

#include "SheafSystem/sheaf_dll_spec.h"
#include "SheafSystem/std_limits.h"
#include "SheafSystem/std_cmath.h"

Go to the source code of this file.

Namespaces

 sheaf
 Namespace for the sheaves component of the sheaf system.
 

Functions

SHEAF_DLL_SPEC bool sheaf::a_eql_0 (float xf0)
 Absolute equality comparison of float xf0 to 0.0f using tolerance float_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql_0 (float xf0, float xtolerance)
 Absolute equality comparison of float xf0 to 0.0f using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql_1 (float xf0)
 Absolute equality comparison of float xf0 to 1.0f using tolerance float_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql_1 (float xf0, float xtolerance)
 Absolute equality comparison of float xf0 to 1.0f using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql (float xf0, float xf1)
 Absolute equality comparison of float xf0 to float xf1 using tolerance float_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql (float xf0, float xf1, float xtolerance)
 Absolute equality comparison of float xf0 to float xf1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::r_eql (float xf0, float xf1)
 Relative equality comparison of float xf0 to float xf1 using tolerance float_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::r_eql (float xf0, float xf1, float xtolerance)
 Relative equality comparison of float xf0 to float xf1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_eql (float xf0, float xf1)
 Combined equality comparison of float xf0 to float xf1 using tolerance float_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_eql (float xf0, float xf1, float xtolerance)
 Combined equality comparison of float xf0 to float xf1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql_0 (double xd0)
 Absolute equality comparison of double xd0 to 0.0 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql_0 (double xd0, double xtolerance)
 Absolute equality comparison of double xd0 to 0.0 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql_1 (double xd0)
 Absolute equality comparison of double xd0 to 1.0 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql_1 (double xd0, double xtolerance)
 Absolute equality comparison of double xd0 to 1.0 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql (double xd0, double xd1)
 Absolute equality comparison of double xd0 to double xd1 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::a_eql (double xd0, double xd1, double xtolerance)
 Absolute equality comparison of double xd0 to double xd1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::r_eql (double xd0, double xd1)
 Relative equality comparison of double xd0 to double xd1 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::r_eql (double xd0, double xd1, double xtolerance)
 Relative equality comparison of double xd0 to double xd1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_eql (double xd0, double xd1)
 Combined equality equality comparison of double xd0 to double xd1 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_eql (double xd0, double xd1, double xtolerance)
 Combined equality equality comparison of double xd0 to double xd1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_lte (double xd0, double xd1)
 Combined less than or equal comparison of double xd0 to double xd1 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_lte (double xd0, double xd1, double xtolerance)
 Combined less than or equal comparison of double xd0 to double xd1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_lt (double xd0, double xd1)
 Combined less than comparison of double xd0 to double xd1 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_lt (double xd0, double xd1, double xtolerance)
 Combined less than comparison of double xd0 to double xd1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_gte (double xd0, double xd1)
 Combined greater than or equal comparison of double xd0 to double xd1 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_gte (double xd0, double xd1, double xtolerance)
 Combined greater than or equal comparison of double xd0 to double xd1 using tolerance xtolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_gt (double xd0, double xd1)
 Combined greater than comparison of double xd0 to double xd1 using tolerance double_tolerance. More...
 
SHEAF_DLL_SPEC bool sheaf::c_gt (double xd0, double xd1, double xtolerance)
 Combined greater than comparison of double xd0 to double xd1 using tolerance xtolerance. More...
 

Variables

const float sheaf::float_tolerance = sqrt(std::numeric_limits<float>::epsilon())
 Tolerance for float comparisons. More...
 
const double sheaf::double_tolerance = sqrt(std::numeric_limits<double>::epsilon())
 Tolerance for double comparisons. More...
 

Detailed Description

Interface for class tolerance_comparison.

Definition in file tolerance_comparison.h.