11 requires std::is_floating_point_v<T>
21 return {std::numeric_limits<T>::epsilon() *
T(4),
22 std::numeric_limits<T>::epsilon() *
T(4),
23 std::numeric_limits<T>::epsilon() *
T(16),
24 std::sqrt(std::numeric_limits<T>::epsilon())};
29 requires std::is_floating_point_v<T>
39 if (!std::isfinite(
left) || !std::isfinite(
right))
53 requires std::is_floating_point_v<T>
bool IsNearlyEqual(const Quat< T > &left, const Quat< T > &right, Tolerance< T > tolerance=Tolerance< T >::Default()) noexcept
constexpr bool IsNearlyZero(T value, T absoluteTolerance=Tolerance< T >::Default().Absolute) noexcept
static constexpr Tolerance Default() noexcept