Author steven.daprano
Recipients cool-RR, mark.dickinson, martin.panter, python-dev, rhettinger, steven.daprano
Date 2016-08-12.11:07:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <20160812110725.GH26300@ando.pearwood.info>
In-reply-to <1470987880.25.0.805744755142.issue27181@psf.upfronthosting.co.za>
Content
I thought about special-casing n=2 to math.sqrt, but as that's an 
implementation detail I can make that change at any time. According 
to my testing, math.pow(x, 0.5) is no worse than sqrt, so I'm not 
sure if there's any advantage to having yet another branch.

I'd be interested in special-casing n=3 to math.cbrt (if and when it exists) 
now that its a standard C99 function.
History
Date User Action Args
2016-08-12 11:07:42steven.dapranosetrecipients: + steven.daprano, rhettinger, mark.dickinson, cool-RR, python-dev, martin.panter
2016-08-12 11:07:42steven.dapranolinkissue27181 messages
2016-08-12 11:07:42steven.dapranocreate