-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Not Needed
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
- causes
-
MONGOCRYPT-594 Failed to build release from source code
- Closed
- depends on
-
SERVER-68542 Add support for numerical encoding for Decimal128
- Closed