Message272525
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. |
|
Date |
User |
Action |
Args |
2016-08-12 11:07:42 | steven.daprano | set | recipients:
+ steven.daprano, rhettinger, mark.dickinson, cool-RR, python-dev, martin.panter |
2016-08-12 11:07:42 | steven.daprano | link | issue27181 messages |
2016-08-12 11:07:42 | steven.daprano | create | |
|