JM 271 Released

Chapter <-

Tfw you integer divide to floor, but it rounds up instead.

What the fuck?

6 thoughts on “JM 271 Released

      1. Forgot to ask – the divisor also? Both positive integers? Any chance some of the integers are actually declared as unsigned?

        Like

      2. Highly unusual. If language used is mainstream (think tiobe index for simplicty) and low level like c/c++ then the only thing i can think of right now is some library that you have taken dependency on overriden globally/publicly something crucial (one of operators maybe since its math? Just spitballing) and thus your program is behaving weirdly

        Or god forbid data got corrupted silently and you only noticed it here but that would be weird in itself corruptions even silent ones usually manifest with much worse behaviour than that

        Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s