Skip to content

ghislainfourny/decimalgamma-cpp

Repository files navigation

DecimalGamma (C++ implementation)

Requirements

  • cmake
  • make
  • C++14 compiler (GCC 4.9 and Clang 3.9 work)
  • clang-format (from clang-tools-extra)
  • coreutils (for realpath)
  • Python 3 with matplotlib and pandas

How to clone

Do a recursive clone to get the submodules right away:

git clone --recursive <repository-url>

If you forgot to do a recursive clone or submodules have been added or updated since your last update, you can (initialize) and update them in your index the following way:

cd <repository-root>
git submodule update --init --recursive

How to build

cd gen
cmake ../src
make

Code formatting

You can check if some files do not adhere to the code format:

make check-format

To automatically apply the format, do this:

make fix-format

Experiments and plots

Each experiments and each plot has a target in the experiments and plots folder, respectively. The require the executables to be built. To run the experiments and make plots, do the following:

cd <repository-root>/experiments
make -j1
cd <repository-root>/plots
make

About

C++ implementation of a simple decimal encoding that preserves order and with unlimited range

Resources

License

Unknown, BSD-3-Clause licenses found

Licenses found

Unknown
LICENSE.txt
BSD-3-Clause
LICENSE-gtest

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published