cast icon indicating copy to clipboard operation
cast copied to clipboard

Fix ToUint64 issue with string input exceeding maximum int64

Open skyjerry opened this issue 11 months ago • 1 comments

#211 The ToUint64E function was fixed to correctly handle strings that overflow the maximum value of int64.

Previously, the function incorrectly returned zero for these input values because it was using strconv.ParseInt internally, which doesn't handle values greater than the max int64.

The fix replaces the use of strconv.ParseInt with strconv.ParseUint.

skyjerry avatar Mar 12 '24 14:03 skyjerry

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Mar 12 '24 14:03 CLAassistant