Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-52739

Numerical stability issue in StdDev functions

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Querying
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Query 2020-11-30

      When computing a standard deviation of a large number of repeating values, there is a precision loss. The result is not  as it is mathematically correct, but a small number (e.g. order of 10^-10).

       

            Assignee:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Reporter:
            svilen.mihaylov@mongodb.com Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: