the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

Change algorithm

Open zihaoAK47 opened this issue 2 years ago • 1 comments

There is no difference in efficiency to prevent overflow when adding low and high. You can avoid using this method to convert long sum=(long) low+high in the future. If this tool class needs to perform a larger range of calculations in the future

zihaoAK47 avatar Apr 01 '23 04:04 zihaoAK47

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Apr 01 '23 05:04 CLAassistant