logarithm_big_int 1.0.2 logarithm_big_int: ^1.0.2 copied to clipboard
A way to calculate logarithm with a bigInt value given a the base also in bigInt, note that the returned value will be also a bigInt so the decimal values will be lost.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add logarithm_big_int
With Flutter:
$ flutter pub add logarithm_big_int
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
logarithm_big_int: ^1.0.2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:logarithm_big_int/logarithm_big_int.dart';