41d3971e83
Use BigInt arithmetic when intermediate products might overflow. Web versions range-check inputs to avoid working on truncated inputs. Bug: 37469 Change-Id: I27d2da2fff7901ce6dbfa5929c6998e87e8808e2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109360 Reviewed-by: Lasse R.H. Nielsen <lrn@google.com> Commit-Queue: Stephen Adams <sra@google.com>