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
ParseNumber: signed overflow when a fraction carries ~2 billion leading zeros #2391
--expFrac in the fraction loop, once per digit, with no cap.
int maxExp = 308 - expFrac;
An all-zeros fraction leaves significandDigit at 0, so --expFrac runs on
every digit. At 2,147,483,340 fraction digits expFrac passes -(INT_MAX-308)
and both sites overflow.
Activity