we talked last week about what can go wrong with floating point numbers, so -- what can go wrong when using integers?

so far I have:

* 32 bit integers are smaller than you think (they only go up to 4 billion!)
* overflow
* sometimes you need to switch the byte order
* ?? (maybe something about shift / bitwise operations? not sure what can go wrong with that exactly)

I'd especially love real-world examples of things that have gone wrong, if you have them!

Y2K22 bug: Microsoft rings in the new year by breaking Exchange servers all around the world

In order to resume processing of mail, sysadmins are disabling malware scanning on their exchange servers, leaving their users, and possibly the servers themselves, vulnerable to attack.

Neowin
@clark TIL BCD
@b0rk - I thought I knew it until I looked the Wikipedia article. So many encoding variants. Makes my head hurt.
https://en.wikipedia.org/wiki/Binary-coded_decimal
Binary-coded decimal - Wikipedia

@clark @b0rk the most amazing about BCD is the 8087 floating point unit had it as a native format!