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

no edit summary
No edit summary
No edit summary
Line 19:
: 141421,100000
: 1414214,1000000
: 4142136,10000000
 
Demonstrate that this function may be used as generator a in [[http://rosettacode.org/wiki/Continued_fraction Continued fraction]] and obtain a floating point value for 23/8, 13/11, and 22/7
 
=={{header|Ruby}}==
<lang ruby>
</lang>
: 4142136,10000000
 
Demonstrate that this function may be used as generator a in [[http://rosettacode.org/wiki/Continued_fraction Continued fraction]] and obtain a floating point value for 23/8, 13/11, and 22/7
2,172

edits