MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / gcd

Function gcd

math/least_common_multiple.cpp:16–36  ·  view source on GitHub ↗

* Function for finding greatest common divisor of two numbers. * @params two integers x and y whose gcd we want to find. * @return greatest common divisor of x and y. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

lcmFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected