Skip to content
Snippets Groups Projects
Commit 9f2b473f authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

doc/developer: Add terse documentation of assumed C implementation defined behavior


Suggested-by: default avatar"Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b706ddba)
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 50cd472c
No related branches found
No related tags found
No related merge requests found
......@@ -131,6 +131,11 @@ designated struct initializers (@samp{struct s x = @{ .i = 17 @};});
@item
compound literals (@samp{x = (struct s) @{ 17, 23 @};}).
@item
Implementation defined behavior for signed integers is assumed to match the
expected behavior for two's complement. Non representable values in integer
casts are binary truncated. Shift right of signed values uses sign extension.
@end itemize
These features are supported by all compilers we care about, so we will not
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment