datafusion_functions::math::gcd

Function compute_gcd

Source
pub fn compute_gcd(x: i64, y: i64) -> Result<i64>
Expand description

Computes greatest common divisor using Binary GCD algorithm.