ContinuedFractionConvergentL function

Fully qualified name: Std.Math.ContinuedFractionConvergentL

function ContinuedFractionConvergentL(fraction : (BigInt, BigInt), denominatorBound : BigInt) : (BigInt, BigInt)

Summary

Finds the continued fraction convergent closest to fraction with the denominator less or equal to denominatorBound Using process similar to this: https://nrich.maths.org/1397