Welcome to c-test’s documentation!

unsigned int arithmetic_gcd(unsigned int a, unsigned int b)

arithmetic_gcd computes the Greatest Common Divisor of two positive integers.

Parameters:
  • a – first positive integer

  • b – first positive integer

Returns:

the Greatest Common Divisor of a and b

Indices and tables