#include <cmath>
#include <cstdint>
#include <cstdlib>
Go to the source code of this file.
|
bool | is_equal_ulps (float a, float b, int max_allowed_ulps=0) |
| Checks if two floating point numbers are equal given an allowed number of ULPs. More...
|
|
bool | is_one (float a, float epsilon=0.00001f) |
| Checks if the input floating point number is 1.0f checking if the difference is within a range defined with epsilon. More...
|
|
bool | is_zero (float a, float epsilon=0.00001f) |
| Checks if the input floating point number is 0.0f checking if the difference is within a range defined with epsilon. More...
|
|