References

The following books, papers, and specifications inform the algorithms and interfaces used in the library:

  • Donald E. Knuth, The Art of Computer Programming Volume 2: Seminumerical Algorithms, 3rd edition, 1998 (multiprecision multiplication and division).

  • Henry S. Warren Jr., Hacker’s Delight, 2nd edition, 2013 (bit-manipulation algorithms: leading and trailing zero counts, population count, and rounding to powers of two).

  • ISO/IEC, Programming Languages - C++ (the <bit>, <numeric>, <charconv>, and <format> interfaces mirrored by this library).

  • ISO/IEC 9899:2024 (C23), Programming Languages - C (the <stdckdint.h> checked-integer interface mirrored by ckd_add, ckd_sub, and ckd_mul).