A toy project to demonstrate how fixed point arithmetic for decimals can be written using modern C++.
It is a header only library written in C++ 17. The project has unit tests.
How to build and run in Linux (Ubuntu)
Install prerequisites: sudo apt install build-essential cmake
Build and run tests
In project's directory:
mkdir build
cd build
cmake ..
make
make test