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

Add shell helper to check equality up to a specified number of digits for NumberDecimal

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • QO 2022-03-21

    Description

      NumberDecimals are almost completely opaque in the shell. In order to silence fuzzer errors due to rounding errors like we do for floating points, we should expose a helper function numberDecimalAlmostEqual that can be used by the fuzzer when comparing query results.

      Attachments

        Activity

          People

            davis.haupt@mongodb.com Davis Haupt (Inactive)
            davis.haupt@mongodb.com Davis Haupt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: