Skip to content

luxcpp/intx

Repository files navigation

Lux Fork

This is a Lux Industries fork of the canonical upstream:

  • Upstream: https://github.com/chfast/intx
  • Pinned commit: dada8df
  • Pinned tag: v0.15.0
  • License: Apache-2.0 (preserved from upstream — see LICENSE, modifications log in NOTICE)
  • Lux extensions: NONE (verbatim parity with upstream). Header-only extended-precision integer C++ library used by luxcpp/crypto for Montgomery arithmetic in bn254/, secp256r1/, modexp/, evm256/, kzg/.
  • Tag policy: track upstream semver verbatim. Divergence (if ever required) signaled by next-minor bump, NOT prerelease suffixes.

intx

readme style: standard Conan Center GitPOAP Badge

High‑performance multiprecision integer library for C++

The intx header-only C++20 library provides allocation-free extended precision integer types. They are implemented as arrays of std::uint64_t words and closely match the behavior of built-in types.

Usage

To build, test or benchmark.

git clone https://github.com/chfast/intx
cd intx

cmake -B build -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel

build/test/intx-unittests
build/test/intx-bench

Maintainer

Paweł Bylica @chfast

License

Licensed under the Apache License, Version 2.0.

About

luxcpp-maintained fork of luxfi/intx — extended-precision integer C++ library used by luxcpp/crypto via FetchContent

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors