Talk:Convert decimal number to rational: Difference between revisions

→‎Repetitive digit chains and rounding: Can trim down Perl 6 as we come out of Draft status
(→‎Repetitive digit chains and rounding: Can trim down Perl 6 as we come out of Draft status)
Line 28:
 
:::Yeah, you are probably right Paddy. The repeating sequence scenario only applies if it occurs across the full width of input. Handling of repetitive digits could be dealt with by a separate handler before this routine is called. A separate task could be to create such a handler. For this task (not the handler task) we could deal just with the conversion, and the output is taken as it is. --[[User:Markhobley|Markhobley]] 16:09, 12 June 2011 (UTC)
 
::::Whoops! I posted my Perl 6 solution (that handles rep-digits) before checking here. If the task comes out of Draft status with this decision (no rep-digits) intact, then I will reduce the Perl 6 solution to fit the simpler problem. I think that the Python solution will need similar attention. --[[User:Util|Util]] 16:39, 12 June 2011 (UTC)
256

edits