Open tankf33der opened 3 years ago
commit messgae is broken:(.
In ll_lehmer_exgcd
, it computes sd = (bd v0 + gcd) / ad, when bd v0 + gcd has 4 more limbs than ad, ll_div
requires sd to have 5 limbs to store quotient. So give sd 5 limbs space can fix it.