Does this mean conversions to signed types will be well-defined as modular reduction (e.g. (int)-1U==-1)?
-
-
Replying to @RichFelker
For C++ yes, for C they asked for more targeted papers for ~each bullet point I had in C++. I think some of the effects of the C++ wording wasn’t clear to the C committee, and I’m not there in person to explain. So maybe? I’ll certainly try to get the same effects as C++.pic.twitter.com/N5lS9UkrWt
2 replies 0 retweets 3 likes -
Replying to @jfbastien
That sounds backwards. Signed to unsigned was always well-defined as modular reduction. It's conversion to signed where the value is out of range (whether because it's a larger unsigned value or a higher-rank signed value) that was "implementation-defined conversion or signal".
2 replies 0 retweets 2 likes -
Replying to @RichFelker
OK second try with wording instead (some documentation out of date
)pic.twitter.com/iWYjzHmYbM
2 replies 0 retweets 2 likes -
-
As long as we can call it JFC instead of "boring C", I'm down.
1 reply 0 retweets 4 likes -
JFC, look at that UB!
2 replies 0 retweets 4 likes -
Replying to @jfbastien @stephentyrone and
My follow-up paper “there are eight bits to a byte” is sure to be a hoot!
1 reply 0 retweets 5 likes -
Feel free to plagiarize any of my borderline-rants you can find on SO where I describe how ability to interchange data with the world hinges on 8-bit bytes.
1 reply 0 retweets 0 likes -
Oh nice! In fact, do you want to co-author the paper? Your input as a C library maintainer is super valuable.
1 reply 0 retweets 2 likes
I sorta want to say yes but not sure what I'd be getting myself into. ;-)
-
-
Sweet! I’ll write the first draft, and then we can iterate. I’ve been meaning to email Roland as well to get his input. Will do that… This one won’t be as easy as two’s complement but I think we can make it happen.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.