ContinuedFractionConvergentI function

Fully qualified name: Std.Math.ContinuedFractionConvergentI

function ContinuedFractionConvergentI(fraction : (Int, Int), denominatorBound : Int) : (Int, Int)

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