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
{{ message }}
Repository navigation
Commit e44b77f
Browse filesBrowse the repository at this point in the historyBrowse files
Normalize zero and share the fast-fail between fromString and fromStringANSI
A zero with a large exponent such as '0e39' now reaches Decimal.set, which derives the
precision from the negative scale (40 for '0e39', Int.MinValue for '0e2147483647'). Drop
the negative scale of a zero first so the result has precision 1 and scale 0.
Move the fast-fail into one helper used by both fromString and fromStringANSI, check the
precision and scale of zero results in DecimalSuite, move the zero cast checks to
CastSuiteBase, and add the JIRA prefix to the new test name.
Co-authored-by: Isaac <[email protected]>
0 commit comments