4 ms·
The assignment is a conversion from unsigned to signed, if the value cannot be represented by the signed type, the result is implementation defined or an implem
by xcgvgh 11y ago
The assignment is a conversion from unsigned to signed, if the value cannot be represented by the signed type, the result is implementation defined or an implementation defined signal is triggered.
- cataphract 11y agoRight. Implementation defined, not undefined. Still not great for portable code, which is what the article is all about.
- xcgvgh 11y agoIt's also very dangerous.