infinity 1.0.1 copy "infinity: ^1.0.1" to clipboard
infinity: ^1.0.1 copied to clipboard

Package for really big numbers, usefull for clicker/idle games, it values speed over precision!

Infinity #

CodeFactor

Big number library for dart #

Numbers range: 10^-(10^^1e308) - 10^^1e308

This library is meant for idle/clicker games where numbers go really high and precision is not that important

Inspiration and idea for this came from Patashu's break eternity.

Usage:

Going past infinity

Infinity _doubleInfinity = Infinity.fromNum(double.maxFinite);
Infinity _result = _doubleInfinity ^ _doubleInfinity;
print(_result);

prints: ee310.74362528890225

Most operators are usable, and can be mixed with normal numbers:

// Infinity is at 1.7976931348623157e+308 so 1e310 is too big for double
Infinity _reallyBigNumber = Infinity.fromString('1e310');

Infinity _result = _reallyBigNumber / 2;
print(_result);

prints: 5.0e309

3
likes
30
pub points
0%
popularity

Publisher

verified publishersquare-pear.com

Package for really big numbers, usefull for clicker/idle games, it values speed over precision!

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on infinity