A brief question.

Fredrik Johansson fredrik.johansson at gmail.com
Sat Jul 2 20:22:23 EDT 2005


On 7/3/05, Tom Anderson <twic at urchin.earth.li> wrote:
> That's one way. I'd do:
> 
> root = value ** 0.5
> 
> Does that mean we can expect Guido to drop math.sqrt in py3k? :)

I'd rather like to see a well implemented math.nthroot. 64**(1/3.0)
gives 3.9999999999999996, and this error could be avoided.

--Fredrik



More information about the Python-list mailing list