logarithm_big_int 1.0.2 copy "logarithm_big_int: ^1.0.2" to clipboard
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';
3
likes
160
points
50
downloads

Publisher

verified publisherthiagofontes.dev

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on logarithm_big_int