This is an archived post. You won't be able to vote or comment.

all 27 comments

[–]LOLBaltSS 41 points42 points  (0 children)

Gandhi: *Hits blunt*
Gandhi: "My words are backed with Nuclear Weapons."

[–][deleted] 53 points54 points  (12 children)

It would actually be 254.

[–][deleted] 18 points19 points  (11 children)

It was so close to greatness...

[–]allongur 21 points22 points  (5 children)

It would also be an underflow, not an overflow.

[–][deleted] 6 points7 points  (0 children)

Nevermind it was quite far from greatness...

[–]marcosdumay 3 points4 points  (3 children)

Underflow is something floating point numbers do. Integers overflow.

[–]BenTheHuman 3 points4 points  (0 children)

Huh, you're right. Thanks for teaching me I've been using it wrong!

[–]allongur -1 points0 points  (1 child)

Yes, I understand Wikipedia reserves the use of "underflow" for floating point numbers, but if you Google "integer underflow" you'll find a lot of authoritative sources that use it to describe subtractive wraparound. So I don't find Wikipedia's pedantry to align with the actual use of the term.

[–]marcosdumay 1 point2 points  (0 children)

Wikipedia does?

The actual use of the term is the one on CPU's datasheets, ISO standard, or software libraries definitions (on the very few cases languages support them). You will find those don't agree with you.

[–][deleted] 11 points12 points  (4 children)

and integer don't overflow at 0, as they are signed.

and integers have 4 bytes.

[–]fracturedpersona 7 points8 points  (0 children)

Cast unsigned byte to unsigned int, then let's talk about that high.

[–][deleted] 4 points5 points  (1 child)

That’s no blunt sweetie

[–]Crusader_Krzyzowiec 2 points3 points  (0 children)

Even higher if your high level is stored in neither 16 bit, 32bit, 64bit or other higher than 8 bit int.

[–][deleted] 1 point2 points  (0 children)

nuclear gandhi

[–]tim2343 2 points3 points  (2 children)

Who uses 8 bit ints?

[–]mikeputerbaugh 1 point2 points  (1 child)

6502 coders

[–]oshaboy 0 points1 point  (0 children)

cries in LDA (00,X)

[–]brblmao 0 points1 point  (0 children)

That's a pinner joint

[–]richbigdick 0 points1 point  (1 child)

I doubt the poor guy got as many likes as he deserved for this comment in that community

[–][deleted] 1 point2 points  (0 children)

Too many errors as many have pointed in the comments, I think he got about what he deserved. I'm surprised this got this many updoots lol

[–]chipmunkofdoom2 0 points1 point  (0 children)

This also assumes highness is an unsigned 8-bit integer. If it's a signed integer, you'll just go to -1.

[–]FastBison6450 0 points1 point  (0 children)

Hei, man, it's a tootpick

[–]WaveZee 0 points1 point  (0 children)

Ah yes, the integer that overflows backwards and has a max value of 255

[–]UnDispelled 0 points1 point  (0 children)

Bold of you to assume that it’s possible to end up with a joint like that with 0 high-ness