Back to browse
GitHub Repository

Limitless numbers in C and C++

0 starsC++

Limitless – C/C++ infinitely large number storage

by tgergo1·Feb 14, 2026·1 point·0 comments

AI Analysis

●●SolidNiche GemWizardry

Arbitrary-precision fractions in a single header, but GMP exists and is battle-tested.

Strengths
  • Exact rational arithmetic (a/b forms) with memory-bound growth, not floating-point approximation.
  • Comprehensive test matrix: fuzz testing, stress tests, differential validation against Python fractions.Fraction.
  • Cross-platform packaging: CMake, Conan, vcpkg, pkg-config; CI/coverage instrumented from day one.
Weaknesses
  • Experimental status (v0.1.0) with no performance benchmarks vs GMP or MPFR.
  • Single-header constraint may complicate large-scale integration and debugging.
Target Audience

Systems programmers, competitive programmers, cryptography and numerical computation developers

Similar To

GMP (GNU Multiple Precision Library) · MPFR (Multiple Precision Floating-Point Rounding) · Boost.Multiprecision

Post Description

Single-header exact big numbers for C and C++. It stores exact integers and exact fractions (a/b) and grows until memory runs out.

Similar Projects

Open Source●●Solid

CasNum – A GameBoy ALU using only compass-&-straightedge constructions

Numbers are represented as points and arithmetic is built from five classical compass-and-straightedge constructions — addition by midpoint/doubling, multiplication via triangle similarity, and even bitwise ops implemented geometrically. There's an actual Game Boy ALU implemented this way (with a demo GIF) and a gnarly circle-intersection formula tucked into circle.py, which makes this part museum-piece, part engineering puzzle. It's delightful, slow, and clearly aimed at people who want to watch algebra get translated into geometry.

WizardryNiche GemRabbit Hole
0x0mer
104mo ago