/decimal128

Public domain IEEE 754 decimal128 pack/unpack implementation

Primary LanguageCThe UnlicenseUnlicense

IEEE 754 decimal128 pack/unpack

This repository contains pack/unpack code and test data.

If you need decimal128 numbers in your project feel free to use this code as starting point.

Test data was generated using MongoDB implementation and validated with GCC std::decimal::decimal128.