Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-19062

Item_sum_variance: move recurrence_m, recurrence_s, count to a separate class

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 10.4.4
    • Component/s: OTHER
    • Labels:
      None

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bar Alexander Barkov
              Reporter:
              bar Alexander Barkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: