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 inNOTICE) - Lux extensions: NONE (verbatim parity with upstream). Header-only extended-precision integer C++ library used by
luxcpp/cryptofor Montgomery arithmetic inbn254/,secp256r1/,modexp/,evm256/,kzg/. - Tag policy: track upstream semver verbatim. Divergence (if ever required) signaled by next-minor bump, NOT prerelease suffixes.
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.
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-benchPaweł Bylica @chfast
Licensed under the Apache License, Version 2.0.