50 template<
typename dtype,
51 enable_if_t<std::is_integral<dtype>::value,
int> = 0>
54 return inValue1 == inValue2;
66 template<
typename dtype,
82 template<
typename dtype,
84 bool essentiallyEqual(
const std::complex<dtype>& inValue1,
const std::complex<dtype>& inValue2) noexcept
86 return inValue1 == inValue2;
98 template<
typename dtype,
100 bool essentiallyEqual(
const std::complex<dtype>& inValue1,
const std::complex<dtype>& inValue2,
101 const std::complex<dtype>& inEpsilon) noexcept
115 template<
typename dtype,
130 template<
typename dtype,
131 enable_if_t<std::is_floating_point<dtype>::value,
int> = 0>
132 bool essentiallyEqual(
const std::complex<dtype>& inValue1,
const std::complex<dtype>& inValue2) noexcept
134 return essentiallyEqual(inValue1, inValue2, DtypeInfo<std::complex<dtype>>::epsilon());
Holds info about the dtype.
Definition: DtypeInfo.hpp:41
bool essentiallyEqual(dtype inValue1, dtype inValue2) noexcept
Definition: essentiallyEqual.hpp:52
Definition: Coordinate.hpp:45
auto abs(dtype inValue) noexcept
Definition: abs.hpp:51
typename std::enable_if< B, T >::type enable_if_t
Definition: TypeTraits.hpp:40