.SolarTherm.Utilities.ToleranceTest.compareReal

Compares two Reals, and checks if they are close enough to be considered equal

Interface

function compareReal
  input Real a;
  input Real b;
  input Real absTol = 1e-10 "Absolute tolerance";
  input Real relTol = 1e-5 "Relative tolerance";
  output Boolean notEqual "true if not equal";
  output Boolean incr "true if the change is incremental";
end compareReal;

Generated at 2025-04-19T18:20:10Z by OpenModelicaOpenModelica 1.25.0 using GenerateDoc.mos