functionIGCD
Integers greatest common divisor (fr: PGCD)
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)
--------------------------------------------------------------
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | a | ||
| Integer | b |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | c |