Mantid
Loading...
Searching...
No Matches
Namespaces | Functions
FloatingPointComparison.cpp File Reference
#include "MantidKernel/FloatingPointComparison.h"
#include "MantidKernel/System.h"
#include <cmath>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  Mantid
 Helper class which provides the Collimation Length for SANS instruments.
 
namespace  Mantid::Kernel
 

Functions

template<typename TYPE >
bool Mantid::Kernel::equals (const TYPE x, const TYPE y)
 Compare floating point numbers for equality to within std::numeric_limits<TYPE>::epsilon precision. More...
 
template<typename T >
MANTID_KERNEL_DLL bool Mantid::Kernel::gtEquals (const T x, const T y)
 Test whether x>=y within machine precision. More...
 
template<typename T >
MANTID_KERNEL_DLL bool Mantid::Kernel::ltEquals (const T x, const T y)
 Test whether x<=y within machine precision. More...