@Windfisch @unnick C++20 and C23 specify two's complement for signed integers. Earlier standards also allowed one's complement or signed magnitude. However, there is no modern compiler that implements anything else than two's complement for signed integer representation anyway. But now let's shut up and don't ruin a good joke! 😜
@raimue @unnick :D
also, given that i'm currently forcing C11 into our C89 codebase at work, we probably won't see C23 within the next decade :(