News for hackers. Stuff that matters.
Re:A Single Line of Code Brought Down a Half-Billion Euro Ro... by gowld on Saturday February 04, 2023 @03:58PM (#34658217)
It's not a sign bit or a range shift. Signed integers are 2-adic numbers. In an n-bit signed integer, the "left" bit b represents the infinite repeated tail sum_{k >= n-1} {b 2^k} == - 2^{n-1} of the 2-adic integer value.

https://zjkmxy.github.io/posts/2021/11/twos-complement-2-adi...

There are no comments on this comment yet.