An open API service indexing awesome lists of open source software.

https://github.com/ilia-funtov/fixed-point-number

A toy project to demonstrate how fixed point arithmetic for decimals can be written using C++ 17
https://github.com/ilia-funtov/fixed-point-number

cpp

Last synced: 8 months ago
JSON representation

A toy project to demonstrate how fixed point arithmetic for decimals can be written using C++ 17

Awesome Lists containing this project

README

          

# fixed-point-number

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