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

From Rosetta Code
Content added Content deleted
Line 3: Line 3:
:Sorry I may have missed something but what does r2cf stand for?--[[User:Grondilu|Grondilu]] 17:28, 4 February 2013 (UTC)
:Sorry I may have missed something but what does r2cf stand for?--[[User:Grondilu|Grondilu]] 17:28, 4 February 2013 (UTC)
:: From the links, I'd guess “rational to continued fraction”. I think this task needs some work on naming! “<tt>Continued fraction arithmetic/Construct from rational number</tt>” would be a first guess; opinions? –[[User:Dkf|Donal Fellows]] 09:38, 5 February 2013 (UTC)
:: From the links, I'd guess “rational to continued fraction”. I think this task needs some work on naming! “<tt>Continued fraction arithmetic/Construct from rational number</tt>” would be a first guess; opinions? –[[User:Dkf|Donal Fellows]] 09:38, 5 February 2013 (UTC)

: BTW, Nigel, please use the internal link style for links within Rosetta Code (and <tt>wp:</tt> links for links into english Wikipedia) as that makes for better SEO. It's a small thing, but it's better for this site. Cheers! –[[User:Dkf|Donal Fellows]] 10:01, 5 February 2013 (UTC)

Revision as of 10:01, 5 February 2013

Using r2cf as Generator a in Continued fraction

Note that Continued fraction assumes Generators a and b are infinite. You may have to adjust Continued fraction to allow for r2cf terminating. The generator for sqrt2 may be used with r2cf.--Nigel Galloway 13:17, 4 February 2013 (UTC)

Sorry I may have missed something but what does r2cf stand for?--Grondilu 17:28, 4 February 2013 (UTC)
From the links, I'd guess “rational to continued fraction”. I think this task needs some work on naming! “Continued fraction arithmetic/Construct from rational number” would be a first guess; opinions? –Donal Fellows 09:38, 5 February 2013 (UTC)
BTW, Nigel, please use the internal link style for links within Rosetta Code (and wp: links for links into english Wikipedia) as that makes for better SEO. It's a small thing, but it's better for this site. Cheers! –Donal Fellows 10:01, 5 February 2013 (UTC)