A C++ number library for high-performance simulation of floating-point and fixed-point arithmetic.
- CMake 3.15 or higher
- C++20 compatible compiler
- (Optional) GMP/MPFR for arbitrary precision support
mkdir build
cd build
cmake ..
cmake --build .BUILD_SHARED_LIBS: Build shared libraries (default: ON)BUILD_TESTS: Build test executables (default: ON)BUILD_EXAMPLES: Build example programs (default: OFF)BUILD_BENCHMARKS: Build benchmark programs (default: OFF)
- Debug:
cmake -DCMAKE_BUILD_TYPE=Debug .. - Release:
cmake -DCMAKE_BUILD_TYPE=Release ..
cd build
ctest
# or
./tests/run_tests