Compares two Reals, and checks if they are close enough to be considered equal.
function compareReal input Real a, b; input Real absTol = 1e-10 "Absolute tolerance."; input Real relTol = 1e-5 "Relative tolerance."; output Boolean equal; end compareReal;