Dick Moores wrote:
Now to my new question. I have an artist friend who knows an artist who
needs pi expressed in base 12. I don't know how many digits he needs,
but I think he'll take what he can get. Is there a way to use
math.log(x, base) with the decimal module to accomplish this? Or is
On 4/14/05, Kent Johnson [EMAIL PROTECTED] wrote:
Dick Moores wrote:
Now to my new question. I have an artist friend who knows an artist who
needs pi expressed in base 12. I don't know how many digits he needs,
but I think he'll take what he can get. Is there a way to use
math.log(x,
Gregor Lingl wrote at 11:27 10/29/2004:
Hi Dick!
Accidentally I just was tinkering around with the new
decimal module of Python2.4. (By the way: it also works
with Python 2.3 - just copy it into /Python23/Lib)
The attached program uses a very elementary (and inefficient)
formula to calculate pi,