#include <algorithm>
#include <cmath>
#include <complex>
Go to the source code of this file.
|
| bool | corbo::approx_equal (double a, double b, double epsilon=1e-6) |
| | Check if two doubles are appoximately equal. More...
|
| |
| bool | corbo::approx_equal (const std::complex< double > &a, const std::complex< double > &b, double epsilon=1e-6) |
| | Check if two complex numbers are appoximately equal by comparing their real and imaginary parts. More...
|
| |
| bool | corbo::approx_equal_abs (double a, double b, double epsilon=1e-6) |
| | Check if two doubles are similar (but with an absolute threshold!) More...
|
| |
| bool | corbo::approx_zero (double val, double epsilon=1e-10) |
| | Check if a double is appoximately zero. More...
|
| |
| bool | corbo::definitely_greater_than (double a, double b, double epsilon=1e-6) |
| | Check if a value is definetly greater than another value. More...
|
| |
| bool | corbo::definitely_less_than (double a, double b, double epsilon=1e-6) |
| | Check if a value is definetly less than another value. More...
|
| |
| bool | corbo::essentially_equal (double a, double b, double epsilon=1e-6) |
| | Check if two doubles are essentially equal. More...
|
| |
| bool | corbo::essentially_equal (const std::complex< double > &a, const std::complex< double > &b, double epsilon=1e-6) |
| | Check if two compelx numbers are essentially equal by comparing their real and imaginary parts. More...
|
| |