I've recently decided to make the leap and read through a bunch of computer science books to better equip myself for the future.

At the moment I'm reading through converting signed to unsigned decimals. I understand the majority if it (hopefully it becomes easier to eventually), but struggling with the following (in 32-bit):

-2147483647-1U < -2147483647

According the book, this evaluates to true. There's a bit about this that I'm still struggling with as I cant see why it evaluates to this.

With my understanding, I know that they are both converted to unsigned values in this calculation due to the first number being cast as unsigned. The first number is therefore -2147483648 after subtraction and then converted to unsigned, or does that unsigned conversion happen prior to the subtraction?

Sorry for the lengthy post, just trying to get my head around understanding this.

Thanks!