Talk:Continued fraction/Arithmetic/G(matrix ng, continued fraction n1, continued fraction n2): Difference between revisions

Line 28:
Also note that the code here (for example in the C++ implementation) is incomplete, as is the task description. To solve this, you need to know which rosettacode tasks contain the missing task description and how to adapt the code there to work here. (That may be simple - I do not know yet.)
 
Specifically, the task lacks a specific terminating condition. And the C++ implementation uses a .moreTerms() method which is not included in the implementation here. Meanwhile [[Continued_fraction/Arithmetic/G(matrix_NG,_Contined_Fraction_N)]] has an "I am done when" clause in the task description and code which won't compile without the NG_8 implementation here (unless you remove that reference) and an implementation of the .moreTerms() method. --[[User:Rdm|Rdm]]Also the c++ implementation there (and here) has a further [[Usercurrently talk:Rdm|talkundocumented]]) 11:44,dependency 11on Julycode 2015in the task [[Continued_fraction_r2cf(UTCRational_N)]].
 
This is a somewhat depressing state of affairs - implementations should not be this incomplete -- users should not have to puzzle out which other rosetta code tasks they need to extract code from to debug an implementation. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 11:44, 11 July 2015 (UTC)
6,962

edits