|
MathLib
|
Go to the source code of this file.
Namespaces | |
| namespace | Math |
Functions | |
Check for equality | |
| bool | check_if_equal (float input, float near_to, float tolerance=0.0002f) |
| bool | check_if_equal (double input, double near_to, double tolerance=0.0002) |
| bool | check_if_equal (long double input, long double near_to, long double tolerance=0.0002l) |
Check for inequality | |
| bool | check_if_not_equal (float input, float near_to, float tolerance=0.0002f) |
| bool | check_if_not_equal (double input, double near_to, double tolerance=0.0002) |
| bool | check_if_not_equal (long double input, long double near_to, long double tolerance=0.0002l) |
Assert values are equal | |
| void | CHECK_IF_EQUAL (float input, float near_to, float tolerance=0.0002f) |
| void | CHECK_IF_EQUAL (double input, double near_to, double tolerance=0.0002) |
| void | CHECK_IF_EQUAL (long double input, long double near_to, long double tolerance=0.0002l) |
Assert values are not equal | |
| void | CHECK_IF_NOT_EQUAL (float input, float near_to, float tolerance=0.0002f) |
| void | CHECK_IF_NOT_EQUAL (double input, double near_to, double tolerance=0.0002) |
| void | CHECK_IF_NOT_EQUAL (long double input, long double near_to, long double tolerance=0.0002l) |
Assert value is zero | |
| void | CHECK_IF_ZERO (float input, float tolerance=0.0002f) |
| void | CHECK_IF_ZERO (double input, double tolerance=0.0002) |
| void | CHECK_IF_ZERO (long double input, long double tolerance=0.0002l) |
Contains the definition of various functions to check values
Definition in file Checks.hpp.