bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const throw() { return otherType.toDouble (otherData) == data.doubleValue; }
bool equals (const ValueUnion& data, const ValueUnion& otherData, const VariantType& otherType) const noexcept { return std::abs (otherType.toDouble (otherData) - data.doubleValue) < std::numeric_limits<double>::epsilon(); }