tiny-bignum-c
break_infinity.js
tiny-bignum-c | break_infinity.js | |
---|---|---|
2 | 4 | |
410 | 193 | |
- | - | |
0.0 | 5.4 | |
12 months ago | 8 months ago | |
C | TypeScript | |
The Unlicense | MIT License |
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
-
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
break_infinity.js
-
ELI5 How do Big Number libraries/calculations work?
For more details, see https://github.com/Patashu/break_infinity.js
-
Is there a way or data type where I can store numbers exceeding 1.7E308 (double maximum)?
For something like JavaScript, some people who need huge huge exponents are making incremental games, where numbers end up truly colossal but really fine details aren't super important. Libraries specifically for that case like https://github.com/Patashu/break_infinity.js are worth using.
-
does anyone know why the bit integer limit doesnt seem to effect the numbers you can get in idle games?
Number type limits definitely are a consideration for incremental developers. Typically, a special structure is used to represent the astronomical values an incremental can require. Many libraries exist across most languages out there for this purpose. For example: https://github.com/Patashu/break_infinity.js
-
Help request about JS game development
To get those BIG NUMBERS and good and easy formatting, https://github.com/Patashu/break_infinity.js/issues and https://github.com/antimatter-dimensions/notations/blob/master/README.md can both be easily added to the create-react-app project.
What are some alternatives?
nim-stint - Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
Brick\Math - Arbitrary-precision arithmetic library for PHP
LibTomMath - LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
math - 🧮 Path to a free self-taught education in Mathematics!
arb - Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
Evolve - An incremental game about evolving a civilization
arpra - Arpra is a C library for analyzing the propagation of numerical error in arbitrary precision IEEE-754 floating-point computations.
Incremental - Incremental Deterministic Decimal Number Type in C#
gmp-wasm - Fork of the GNU Multiple Precision Arithmetic Library (GMP), suitable for compilation into WebAssembly.
igt-vue - A Vue project that consumes the igt-libray for developing incremental games.
gmp-extensions - Extending GNU MP library.
numberfmt - Number formatting using a text pattern and native Intl.NumberFormat()