A brief question.

Fredrik Johansson fredrik.johansson at gmail.com
Sun Jul 3 02:22:23 CEST 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