.ModelicaCompliance.Util.compareReal

Information

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

Interface

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;

Generated at 2020-04-07T01:38:57Z by OpenModelicaOpenModelica 1.16.0~dev-263-g761b5de using GenerateDoc.mos