fastrange

(★ 320)

A fast alternative to the modulo reduction

File Explorer

  • .gitignore
  • CMakeLists.txt
  • fastrange.h
  • LICENSE
  • README.md

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

cmake

View Details ▼

Cross-platform build automation system, that generates recipes for native build systems.

cmake {{path/to/project_directory}}

Generate a build recipe in the current directory with `CMakeLists.txt` from a project directory:

cmake --build {{path/to/build_directory}}

Use a generated recipe in a given directory to build artifacts:

cmake --install {{path/to/build_directory}} --strip

Install the build artifacts into `/usr/local/` and strip debugging symbols:

🔍

ctest

View Details ▼

CMake test driver program.

ctest

Run all tests in the current CMake build directory:

ctest {{[-j|--parallel]}} 4

Run all tests defined in the CMake build directory, executing 4 [j]obs at a time in parallel:

ctest {{[-j|--parallel]}}

Run all tests on all processor cores:

🔍

pkg-config

View Details ▼

Provide the details of installed libraries for compiling applications.

pkg-config --libs {{library1 library2 ...}}

Get the list of libraries and their dependencies:

pkg-config --cflags --libs {{library1 library2 ...}}

Get the list of libraries, their dependencies, and proper cflags for gcc:

pkg-config --modversion {{module1 module2 ...}}

Print the version of the linked modules:

// repository documentation