Returns the greatest common divisor of two integers (Specification)
Version: experimental
Returns the greatest common divisor of two integers of kind int8 using the Euclidean algorithm.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int8), | intent(in) | :: | a | |||
integer(kind=int8), | intent(in) | :: | b |
Returns the greatest common divisor of two integers of kind int16 using the Euclidean algorithm.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int16), | intent(in) | :: | a | |||
integer(kind=int16), | intent(in) | :: | b |
Returns the greatest common divisor of two integers of kind int32 using the Euclidean algorithm.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int32), | intent(in) | :: | a | |||
integer(kind=int32), | intent(in) | :: | b |
Returns the greatest common divisor of two integers of kind int64 using the Euclidean algorithm.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer(kind=int64), | intent(in) | :: | a | |||
integer(kind=int64), | intent(in) | :: | b |