12#include "MantidKernel/DllConfig.h"
18template <
typename T> MANTID_KERNEL_DLL
bool equals(T
const x, T
const y);
19template <
typename T> MANTID_KERNEL_DLL
inline bool equals(T
const x, T
const y, std::true_type);
20template <
typename T> MANTID_KERNEL_DLL
inline bool equals(T
const x, T
const y, std::false_type);
22template <
typename T> MANTID_KERNEL_DLL
bool ltEquals(T
const x, T
const y);
24template <
typename T> MANTID_KERNEL_DLL
bool gtEquals(T
const x, T
const y);
30template <
typename T,
typename S = T>
32template <
typename T,
typename S = T>
34template <
typename T,
typename S = T>
37template <
typename T,
typename S = T>
39template <
typename T,
typename S = T>
41template <
typename T,
typename S = T>
MANTID_KERNEL_DLL bool withinRelativeDifference(T const x, T const y, S const tolerance)
Test whether x, y are within relative tolerance tol.
MANTID_KERNEL_DLL bool equals(T const x, T const y)
Test for equality of doubles using compiler-defined precision.
MANTID_KERNEL_DLL bool gtEquals(T const x, T const y)
Test whether x>=y within machine precision.
MANTID_KERNEL_DLL T absoluteDifference(T const x, T const y)
Calculate absolute difference between x, y.
MANTID_KERNEL_DLL T relativeDifference(T const x, T const y)
Calculate relative difference between x, y.
MANTID_KERNEL_DLL bool ltEquals(T const x, T const y)
Test whether x<=y within machine precision.
MANTID_KERNEL_DLL bool withinAbsoluteDifference(T const x, T const y, S const tolerance)
Test whether x, y are within absolute tolerance tol.
Helper class which provides the Collimation Length for SANS instruments.