.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-11-22T19:25:38Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos