|
![](/i/fill.gif) |
Jay Fox wrote:
> On the other hand, 1234.56789 has a period of 116,032,317, and 123.4567
89 has a
> period of 1,078,493,612. Finally, a value of s of 12.3456789 has a peri
od in
> excess of a hundred billion (i.e., my program is still running, having
already
> produced over 110 billion iterates).
>
Note that due to rounding error, you might never get the first
value back. I.e it is quite possible for the algorithm to go: 1, 2,
3, 2, 3, 2, 3...
Jerome
--
mailto:jeb### [at] free fr
http://jeberger.free.fr
Jabber: jeb### [at] jabber fr
Post a reply to this message
Attachments:
Download 'us-ascii' (1 KB)
|
![](/i/fill.gif) |