Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
xcgvgh
· 10y ago · 0 comments
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.
Comments
[–]
cataphract
10y ago
Right. Implementation defined, not undefined. Still not great for portable code, which is what the article is all about.
[–]
xcgvgh
OP
10y ago
It's also very dangerous.