Continued fraction/Arithmetic/Construct from rational number: Difference between revisions

m
Line 2,592:
(Dividend = !.N1),
(Divisor = !.N2),
(Divisor \= 0), % Fail isif we have reached the end.
(!:N1 = Divisor), % The next Dividend.
(!:N2 = Dividend mod Divisor), % Floor division. The next divisor.
1,448

edits