tiny-bignum-c
Small portable multiple-precision unsigned integer arithmetic in C (by kokke)
arb
Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead (by flintlib)
| tiny-bignum-c | arb | |
|---|---|---|
| 2 | 12 | |
| 466 | 476 | |
| 0.0% | 0.4% | |
| 4.6 | 2.2 | |
| over 1 year ago | about 2 years ago | |
| C | C | |
| The Unlicense | GNU Lesser General Public License v3.0 only |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tiny-bignum-c
Posts with mentions or reviews of tiny-bignum-c.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-01.
-
How to calculate large factorial number in C ?
Large? Factorials get very large very quickly. Do you need pointers to a bignum library? https://github.com/kokke/tiny-bignum-c
-
Library for arithmetic operations on integers represented by arrays
tiny-bignum-c looks what you want.... the code is also very small and hackable
arb
Posts with mentions or reviews of arb.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-08-28.
- Uncertain<T>
- Patriot Missile Floating point Software Problem lead to deaths 28 Americans
- Beyond Automatic Differentiation
-
Cosine Implementation in C
https://github.com/JuliaMath/Bessels.jl/blob/master/src/bess...
Thanks! I love it, so easy to understand and follow.
My favourite work on the subject is Fredrik Johansson's:
https://github.com/fredrik-johansson/arb
Whenever I feel down and without energy I just read something in there
-
Math with Significant Figures
Probably the most popular package for dealing with error propagation and arbitrary precision arithmetic in Python is mpmath, more specifically the mp.iv module. For more serious applications I'd take a look at MPFR and Arb, both in C. And there are tons of ball arithmetic and interval arithmetic libraries in Fortran.
-
Function betrayal
You're in good company too. Using intervals to bound error is the entire idea behind the arb library.
-
What are some best practices in dealing with precision errors in computing?
The error bounds approach is probably what you’re looking for. A better search term for that is “interval arithmetic.” There are many good software packages for interval arithmetic, like Arb.
-
Numeric equality
I do agree with your list, so that is something! I will add, balls are underrated, ditto intervals (nominally more efficient, but on x86 switching rounding modes is 20-30 cycles...)
-
Cutting-edge research on numerical representations?
Ball arithmetic looks interesting. As far as I know, arb is the primary implementation.
- Is there a language which can keep track of the potential epsilon error when doing calculations?
What are some alternatives?
When comparing tiny-bignum-c and arb you can also consider the following projects:
BigNumber - C++ class for creating and computing arbitrary-length integers
calc - C-style arbitrary precision calculator
gmp-extensions - Extending GNU MP library.
mpmath - Python library for arbitrary-precision floating-point arithmetic
arpra - Arpra is a C library for analyzing the propagation of numerical error in arbitrary precision IEEE-754 floating-point computations.
The-RLIBM-Project - A combined repository for all RLIBM prototypes