Continued fraction/Arithmetic/Construct from rational number: Difference between revisions
Continued fraction/Arithmetic/Construct from rational number (view source)
Revision as of 13:20, 5 February 2013
, 11 years agono edit summary
(perl 6 entry) |
No edit summary |
||
Line 1:
{{task}}To understand this task in context please see [
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:
Line 21:
: 4142136,10000000
Demonstrate that this function may be used as generator a in [[
=={{header|Perl 6}}==
|