.BuildSysPro.Utilities.Math.IGCD

Information

Return the greatest common divisor of 2 integers.

Hypothesis and equations

Based on simple recursive algorithm.

Bibliography

none

Instructions for use

Easy to use.

Known limits / Use precautions

none

Validation

Validated function - Hassan Bouia 02/2015

--------------------------------------------------------------
Licensed by EDF under a 3-clause BSD-license
Copyright © EDF 2009 - 2023
BuildSysPro version 3.6.0
Author : Hassan BOUIA, EDF (2015)
--------------------------------------------------------------

Interface

function IGCD
  input Integer a, b;
  output Integer c;
end IGCD;

Generated at 2024-04-28T18:16:21Z by OpenModelicaOpenModelica 1.22.3 using GenerateDoc.mos