sp_runtime::helpers_128bit

Function gcd

source
pub fn gcd(a: u128, b: u128) -> u128
Expand description

Helper gcd function used in Rational128 implementation.