Continued fraction/Arithmetic/Construct from rational number: Difference between revisions
Content added Content deleted
No edit summary |
|||
Line 1: | Line 1: | ||
{{task}}To understand this task in context please see |
{{task}}To understand this task in context please see [http://rosettacode.org/wiki/Continued_fraction_arithmetic Continued fraction arithmetic] |
||
The purpose of this task is to write a function r2cf(int N1, int N2), or r2cf(Fraction N), which will output a continued fraction assuming: |
The purpose of this task is to write a function r2cf(int N1, int N2), or r2cf(Fraction N), which will output a continued fraction assuming: |