Large Numbers Library

$4
Publisher Assets By Votrubec
File size 350.66kB
Number of files 11
Latest version 2.1.1
Latest release date 2023-11-30 10:40:47
First release date 2019-12-13 06:53:12
Supported Unity versions 2018.4.2 or higher

The most common implementation for large numbers is "clicker" or "idle" style games. You know the ones. They're fun, but they're also deceptively technical. Most developer’s initial instinct is that “the computer just does it”. Unfortunately, in this instance, the computer doesn’t just do it. Due to the fantastically huge nature of the numbers described, there’s no computer representation for them. As such, this library is intended to overcome the "large number" hurdle.


This library contains implementations for the John Horton Conway and Richard K. Guy latin based large numbering format, Scientific Notation based numbering format and Alphabetic Notation large numbers.


- The possible values for the Conway-Guy system are ±999.999 NoveNonagintaNongentillion (±999.999 x 10^3000) as well as ±999.999 NoveNonagintaNongentillionth (±999.999 x 10^-3000).
- For the Scientific Notation system, the possible values are ±9.999 x 10^2,147,483,647 as well as ±9.999 x 10^-2,147,483,648. The magnitude is the signed int.Min and Max values.
- For the Alphabetic Notation, the possible values are ±999 fxshrxs as well as the fraction values ±999 fxshrxsth. "fxshrxs" is very loosely the alphabetic representation of int.Max.


All large number structures allow for addition, subtraction, multiplication and division through the overloaded operators and each large number type can be cast back and forth to one another e.g. cast Conway-Guy number to Scientific Notation.


The package is actively updated with new features and bug squashes. A big thank you to all customers for the feature requests.