[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:
Blocks
blocks MDEV-19050 Item_sum_std: change internal tempora... Stalled

 Description   

The class Item_sum_variance has the following members:

  double recurrence_m, recurrence_s;    /* Used in recurrence relation. */
  ulonglong count;

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.


Generated at Thu Feb 08 08:48:47 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.