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)
--------------------------------------------------------------
function IGCD input Integer a, b; output Integer c; end IGCD;