Email or username:

Password:

Forgot your password?
Top-level
Rainer Müller

@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! 😜

2 comments
Windfisch

@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 :(

mxk

@raimue @Windfisch @unnick also, this is like the general pattern of most autotools checks.
They are *technically* valid things to check, just that most aren't really worth checking anymore in a world where most modern Unix software only realistically supports Linux (GNU and MUSL) and MacOS anyways.

Go Up