fatint 2.0.0 copy "fatint: ^2.0.0" to clipboard
fatint: ^2.0.0 copied to clipboard

Dart 1 only

Big fat integer support for Dart

fatint #

Dart library for arbitrary sized integer values. Dart VM by default supports arbitrary sized integers but it is not the case when compiled to Javascript on the browser. This package provides a common big number interface for DartVM and browser and provides respective implementations.

Simple examples #

BigInteger i1 = bigInt(25) % bigInt(7); // => 4
BigInteger i2 = bigHex('abcd1234') * bigHex('beef'); // => 0x802297f6968c

Advantage #

  • Clean API complying to to Dart's int
  • Efficient equations using BigIntegerRef and zero
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Big fat integer support for Dart

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

biginteger_js, rational

More

Packages that depend on fatint