.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 2020-06-02T01:38:30Z by OpenModelicaOpenModelica 1.16.0~dev-420-gc007a39 using GenerateDoc.mos