671
you are viewing a single comment's thread
view the rest of the comments
[-] Lemminary@lemmy.world 3 points 9 hours ago

With Ghandi going nuclear at every chance, I think they totally knew.

[-] okamiueru@lemmy.world 6 points 6 hours ago* (last edited 6 hours ago)

(Might be something everyone knows) The Nuclear Ghandi thing was a unsigned integer issue. His "war mongering" value reached zero, and lowering once more made it wrap around to max value and turn him into a lunatic.

[-] Knock_Knock_Lemmy_In@lemmy.world 3 points 3 hours ago
[-] Amir@lemmy.ml 5 points 1 hour ago

This phenomenon is called integer overflow.

Underflow, but close enough

[-] okamiueru@lemmy.world 3 points 1 hour ago* (last edited 1 hour ago)

I don't think it's wrong to call it integer overflow, as that covers wrap around in either direction. I don't think there is any mention of "integer underflow" in any IEEE standard.

There is however mention of arithmetic underflow, but that relates to a precision issue with floating point numbers, and not negative wrap around. (See IEEE 754).

It's still understood what one might mean by integer underflow. But if anything, I'd say it's a further specification of a type of integer overflow, and certainly not a necessary distinction.

this post was submitted on 19 Aug 2026
671 points (99.4% liked)

AntiTrumpAlliance

1774 readers
995 users here now

About

An alliance among all who oppose Donald Trump's actions, positions, cabinet, supporters, policies, or motives. This alliance includes anyone from the left or the right; anyone from any religion or lack thereof; anyone from any country or state; any man, woman or child.

Rules

-No pro-Trump posts or comments

-No off topic posts

-Be civil

-No trolling

-Follow Lemmy terms of service

Social Media

Discord

Reddit

Other Communities

!desantisthreatensusa@lemmy.world

!antifascism@midwest.social

!politicus@kbin.social

founded 2 years ago
MODERATORS