big_double 1.0.2
big_double: ^1.0.2 copied to clipboard
High performing BigInt & double replacement that can hold more than 1^308 and up to 10^^308
import 'package:big_double/big_double.dart';
void main() {
BigDouble sum = (1e30).big + (1e30).big;
print(sum.toDouble());
print(sum);
print("Mantissa = ${sum.mantissa}\nExponent = ${sum.exponent}");
BigDouble product = BigDouble.fromValue(996) * BigDouble.fromValue(996);
print(product.toDouble().round());
}