From 21b23e35a728c027ae88fe6084e15775e60388f0 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 28 Aug 2015 02:39:10 +0200 Subject: int*_t are guaranteed to use two's complement MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- doc/info/mds.texinfo | 14 -------------- 1 file changed, 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 @@ -1345,20 +1345,6 @@ For optimal portability, there are some restrictions 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, -- cgit v1.2.3-70-g09d2