You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JS does not support large integers, so for JS, strange results for large numbers would be no surprise, but these are in the Dart VM.
Since many people already rely on this package, this must be fixed soon. I'd suggest maybe to completely change the implementation, to something more generic like BigInt from the decimal package: https://github.com/a14n/dart-rational/blob/master/lib/bigint.dart
The text was updated successfully, but these errors were encountered:
In #30 I already mentioned that
intValue
returns positive values for negativeBigInteger
s.I've been using the method a little more, and the results are staggering, so to say.
JS does not support large integers, so for JS, strange results for large numbers would be no surprise, but these are in the Dart VM.
Since many people already rely on this package, this must be fixed soon. I'd suggest maybe to completely change the implementation, to something more generic like BigInt from the decimal package:
https://github.com/a14n/dart-rational/blob/master/lib/bigint.dart
The text was updated successfully, but these errors were encountered: