aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-28 02:39:10 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-28 02:39:10 +0200
commit21b23e35a728c027ae88fe6084e15775e60388f0 (patch)
tree60f43ab9670d28f99df375e23cfc4b433cda669e
parenttypo (diff)
downloadmds-21b23e35a728c027ae88fe6084e15775e60388f0.tar.gz
mds-21b23e35a728c027ae88fe6084e15775e60388f0.tar.bz2
mds-21b23e35a728c027ae88fe6084e15775e60388f0.tar.xz
int*_t are guaranteed to use two's complement
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--doc/info/mds.texinfo14
1 files changed, 0 insertions, 14 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index 541767d..1ce2093 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -1346,20 +1346,6 @@ on protocols.
@itemize @bullet{}
@item
-@cpindex Integers, minimum value restriction
-@cpindex Minimum value restriction on integers
-@cpindex Restrictions on minimum value for integers
-Because C allows signed integers to be encoded as
-either sign and magnitude, one's complement or two's
-complement@footnote{GCC only allows two's complement},
-the minimum value of any signed value with a fixed
-bit-size is the negative of its maximum value, that
-is, the minimum value @code{int16_t} is to be assumed
-to be @code{-INT16_MAX} (@math{-32767}) rather than
-@code{INT16_MIN} (@math{-32768} with two's
-complement.)
-
-@item
Integers that are not especially encoded must not be
larger than 64-bits if they use fixed bit-size. If,
for example, @code{size_t} is 128-bits on your