sp_
runtime
31.0.1
In sp_
runtime::
helpers_
128bit
Functions
gcd
multiply_by_rational_with_rounding
split
sqrt
to_big_uint
sp_runtime
::
helpers_128bit
Function
gcd
Copy item path
Settings
Help
Summary
pub fn gcd(a:
u128
, b:
u128
) ->
u128
Expand description
Helper gcd function used in Rational128 implementation.