3 ms·
As in like Java Bigdecimal, with a BigInteger on the left side, and a fixed precision on the right?
by cordite 6y ago
As in like Java Bigdecimal, with a BigInteger on the left side, and a fixed precision on the right?
- fauigerzigerk 6y agoAs in other database systems such as Postgres. Even a C# style decimal floating point type would be sufficient.
- kyllo 6y agoBasically--it's a struct containing a byte array, weight, scale, and sign, and all the arithmetic operations are implemented in software. So it's really slow, and each RDBMS has to implement this type from scratch, or find a vendor lib that provides a suitable one, because C/C++ standard libraries don't provide one.