Message269709
On Sat, Jul 02, 2016 at 11:40:48AM +0000, Utkan Gezer wrote:
>
> New submission from Utkan Gezer:
>
> An issue of enhancement by the introduction of a built-in product()
> function for the multiplication operation, functions similar to how
> sum does for the addition operation.
I will likely be introducing an internal product() to the statistics
module, for use in calculating the geometric mean.
The problem with product() is similar to the problem with sum(). There
are three different implementations of sum in the std lib: a general
purpose one optimised for speed as the builtin, one optimized for
floating point accuracy in the math module, and an internal-only private
one optimized for exactness in the statistics module. I expect that
product() will have the same tradeoffs, only even more so since it will
overflow much more easily than sum() will. |
|
Date |
User |
Action |
Args |
2016-07-02 12:26:03 | steven.daprano | set | recipients:
+ steven.daprano, abarry, Utkan Gezer |
2016-07-02 12:26:03 | steven.daprano | link | issue27439 messages |
2016-07-02 12:26:02 | steven.daprano | create | |
|