.SolarTherm.Utilities.ToleranceTest.compareReal

Information

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 2024-04-23T18:15:56Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos