break_infinity.js
tiny-bignum-c
break_infinity.js | tiny-bignum-c | |
---|---|---|
4 | 2 | |
190 | 410 | |
- | - | |
5.4 | 0.0 | |
7 months ago | 11 months ago | |
TypeScript | C | |
MIT License | The Unlicense |
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.
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.
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
What are some alternatives?
Brick\Math - Arbitrary-precision arithmetic library for PHP
nim-stint - Stack-based arbitrary-precision integers - Fast and portable with natural syntax for resource-restricted devices.
math - 🧮 Path to a free self-taught education in Mathematics!
LibTomMath - LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.
Evolve - An incremental game about evolving a civilization
arb - Arb has been merged into FLINT -- use https://github.com/flintlib/flint/ instead
Incremental - Incremental Deterministic Decimal Number Type in C#
arpra - Arpra is a C library for analyzing the propagation of numerical error in arbitrary precision IEEE-754 floating-point computations.
igt-vue - A Vue project that consumes the igt-libray for developing incremental games.
gmp-wasm - Fork of the GNU Multiple Precision Arithmetic Library (GMP), suitable for compilation into WebAssembly.
numberfmt - Number formatting using a text pattern and native Intl.NumberFormat()
gmp-extensions - Extending GNU MP library.