MCPcopy Create free account
hub / github.com/E869120/math-algorithm-book / Code_3_02_2.py

File Code_3_02_2.py

codes/python/Code_3_02_2.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1# 正の整数 A と B の最大公約数を返す関数
2# GCD は Greatest Common Divisor(最大公約数)の略
3def GCD(A, B):
4 while A >= 1 and B >= 1:

Callers

nothing calls this directly

Calls 1

GCDFunction · 0.70

Tested by

no test coverage detected