<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/15 Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div><div><br>
On Jan 15, 2014, at 5:04 PM, Mikael <<a href="mailto:mikael.rcv@gmail.com" target="_blank">mikael.rcv@gmail.com</a>> wrote:<br>
<br>
> 2014/1/15 Mikael <<a href="mailto:mikael.rcv@gmail.com" target="_blank">mikael.rcv@gmail.com</a>><br>
> I believe you addressed now how to detect whether a rational has inifinite decimals - yes I got aware there's an algorithm to do this too, (even while it's iterative - would be nice to understand how fast it is, anyhow) neat.<br>



><br>
> Yeah if anyone has an example implementation of such an algorithm |has-infinite-decimals?| feel free to post :)<br>
<br>
</div></div>It is really very simple.  I’ll let you think about it some more before posting a solution…<br>
<span><font color="#888888"><br>
Marc<br>
<br>
</font></span></blockquote></div><br></div><div class="gmail_extra">I trust it's both simple and elegant - implementing something and do not have the proper focus on math in this moment;</div><div class="gmail_extra">

<br></div><div class="gmail_extra">It just struck me that it's an awesome symmetry that there's this full support both re input, handling and output (per algorithm I suggested in previous email, guess that's how fast at is goes) of these, and the dot on the i in this respect would be the ability to check that a number has a finite number of decimals - saw an algorithm but didn't take it to the level of implementing it - , that was all I was thinking today.</div>

<div class="gmail_extra"><br></div><div class="gmail_extra">Mikael</div><div class="gmail_extra"><br></div></div>