mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
This helps avoid overflows in intermediate calculations. Verified the value in the test using `BigInteger`: ``` jshell> BigInteger.valueOf(1L << 52).multiply(BigInteger.valueOf(90000)).divide(BigInteger.valueOf(1000000)) $3 ==> 405323966463344 ``` Issue: androidx/media#1763 #cherrypick PiperOrigin-RevId: 684028178 |
||
|---|---|---|
| .. | ||
| main | ||
| test | ||