Comment

Comment by PhantomGremlin

the MIPS R3000 processor ... raises an exception for signed integer overflow, unlike many other processors which silently wrap to negative values.

Too bad programmer laziness won and most current hardware doesn't support this.

As a teenager I remember getting hit by this all the time in assembly language programming for the IBM S/360. (FORTRAN turned it off).

   S0C8 Fixed-point overflow exception
When you're a kid you just do things quickly. This was the machine's way of slapping you upside your head and saying: "are you sure about that?"

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton