ArmNN
 24.08
FloatingPointComparison.hpp File Reference
#include <cmath>
Include dependency graph for FloatingPointComparison.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 armnnUtils
 

Functions

bool within_percentage_tolerance (float a, float b, float tolerancePercent=1.0f)
 Compare two floats and return true if their values are within a specified tolerance of each other. More...