.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 2024-12-21T19:25:56Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos