Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 1.17 KB

README.md

File metadata and controls

60 lines (46 loc) · 1.17 KB

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