• Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.0, 1.7.0-alpha2
    • Affects Version/s: None
    • Component/s: None
    • None

      Scope

      • Vendor a decimal128 library.
      • Support encoding, edge generation, and min cover of a BSON decimal128.

      Background & Motivation

      Relevant server code is in fle_crypto.cpp
      Encoding in the server code is in getTypeInfoDecimal128 Port to mc-range-encoding.c.
      Edge generation is in server code in getEdgesDecimal128. Port to mc-range-edge-generation.c.
      MinCover is in server code in minCoverDecimal128. Port to mc-range-mincover.c.

      This will require a dependency on a decimal128 library. DBX Scope: Driver Support for Range Index suggests "Import libtommath or tomsfastmath or similar to perform int128 math". The server vendors the Intel Decimal Floating-Point Math Library v2.1: https://github.com/mongodb/mongo/tree/master/src/third_party/IntelRDFPMathLib20U1

            Assignee:
            colby.pike@mongodb.com Colby Pike
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: