<div dir="ltr"><div dir="ltr" style="font-size:12.8px">you could also use pre-calculated results from files found for example in <a href="http://www.subidiom.com/pi/" target="_blank">http://www.subidiom.com/pi/</a><div style="display:inline-block;width:16px;height:16px"></div> or <a href="http://www.wolframalpha.com/input/?i=N%5Bpi%2C1000%5D" target="_blank">http://www.wolframalpha.com/input/?i=N%5Bpi%2C1000%5D</a><div style="display:inline-block;width:16px;height:16px"></div><div>and then do a base conversion.</div><div><br></div><div>Cheers ε/2</div></div><div class="" style="font-size:12.8px"><div id=":26t" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-18 1:28 GMT+01:00 Jerzy Karczmarczuk <span dir="ltr"><<a href="mailto:jerzy.karczmarczuk@unicaen.fr" target="_blank">jerzy.karczmarczuk@unicaen.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Le 18/12/2015 00:45, Jeffrey Brown badly needs :<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
the first thousand or so digits of irrational numbers? In base 12?<br>
</blockquote>
<br></span>
Well, I wonder why not in base 314159? It would be much more Mystical, and making Music out of it would not be more lousy than in any other base.<br>
Anyway...<br>
<br>
Conversion from one base to another of an integer is a simple student exercise. But of a fraction, perhaps infinite, requires more work. I did it some centuries ago, if you want some co-recursive fun, find my Braga School participant delirium: "The most Unreliable Technique in the World to Compute Pi", still somewhere among my files ( <a href="https://karczmarczuk.users.greyc.fr/arpap/lazypi.pdf" rel="noreferrer" target="_blank">https://karczmarczuk.users.greyc.fr/arpap/lazypi.pdf</a> ). I never thought I would recommend it to anybody...<br>
<br>
Now, I would not call my exercice a "canned routine"...<span class="HOEnZb"><font color="#888888"><br>
<br>
Jerzy Karczmarczuk<br>
/Caen [don't pronounce it "canned", please!], France/<br>
_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe</a><br>
</font></span></blockquote></div><br></div>