org.dianahep.histogrammar
Introduces a === operator for all Double tolerance comparisons.
===
Double
Custom equality rules:
Python's math.isclose algorithm is applied for non-NaNs:
abs(x - y) <= max(relativeTolerance * max(abs(x), abs(y)), absoluteTolerance)
Introduces a
===
operator for allDouble
tolerance comparisons.Custom equality rules:
Python's math.isclose algorithm is applied for non-NaNs:
abs(x - y) <= max(relativeTolerance * max(abs(x), abs(y)), absoluteTolerance)