Mark Dickinson added the comment: [Serhiy] > ... nroot() wouldn't help too much to implement geometric mean
It's fine, so long as it's only being called once or twice at the end of the calculation (it's even helpful to have the last operation be an nth root call, since that's a contracting operation that tends to reduce relative error). It's calling it on every single item in the input list and *then* multiplying that would be bad. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27353> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com