[MDEV-19062] Item_sum_variance: move recurrence_m, recurrence_s, count to a separate class Created: 2019-03-27 Updated: 2019-03-29 Resolved: 2019-03-29 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | 10.4.4 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
The class Item_sum_variance has the following members:
We're going to change recurrence_m and recurrence_s from double to long double, to improve the result precision. It makes sense to move these three members into a separate class Stddev and encapsulate the exact internal representation into this class. |