D Port of a Continued Fraction
Rust code from https://github.com/fatesc/continued-fraction
Attribution: @fatesc
[ 4; 2, 6, 7 ]
[ 4; 2, 1, 3, 1, 2, 8, 2, 1, 3, 1, 2, ... ]
[ 3; 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, ... ]
[ 2; 1, 2, 1, 1, 4, 1, 1, 6, 1, 1, 8, ... ]
[ 1; 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... ]
[ 0; 1, 1, 2, 1, 2, 1, 4, 3, 13, 5, 1, ... ]
[ 1; 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, ... ]