3 ms·
C23 just dropped support for any non-twos-complement architectures. No more C on Unisys for you! http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2412.pdf htt
by rwmj 5y ago
C23 just dropped support for any non-twos-complement architectures. No more C on Unisys for you! http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2412.pdf http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2412.pdf
- eqvinox 5y agoThat doesn't preclude C23 on Unisys, it just forces the compiler to hide that fact from the programmer ;D (SCNR)
- bombcar 5y agoWhich will be wonderful for code compiled to C23 linked against C89 libraries, if that's even possible.
- titzer 5y agoIt's amazing the abilities that 50 years can bring a programming language. Longest, most painful design debate ever.
- namibj 5y agoOne of the most widespread potential targets for non-two's-complement C would be JavaScript, or otherwise abusing floating point hardware for C's signed integers. Because their overflow is indeed weird (and breaks associativity).
- mmoskal 5y agoIt looks like signed overflow will be still undefined in C23 (but defined in C++).
- isomel 5y agoSigned overflow is not defined in C++