Documentation for OpenFLUID 2.2.0
FloatingPoint.hpp File Reference

Detailed Description

#include <cmath>
Include dependency graph for FloatingPoint.hpp:

Go to the source code of this file.

Namespaces

 openfluid
 
 openfluid::scientific
 

Functions

template<typename T1 , typename T2 >
bool openfluid::scientific::isCloseEnough (const T1 &A, const T2 &B, const double &Epsilon=0.00001)
 
template<typename T1 , typename T2 >
bool openfluid::scientific::isVeryClose (const T1 &A, const T2 &B, const double &Epsilon=0.00001)
 
bool openfluid::scientific::IsCloseEnough (double A, double B, double Epsilon=0.00001)
 
bool openfluid::scientific::IsVeryClose (double A, double B, double Epsilon=0.00001)