Mercurial > hg > octave-lojdl > gnulib-hg
changeset 5773:0f74bcd32a20
one's complement -> ones' complement (as per Knuth)
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 26 Mar 2005 17:53:44 +0000 |
parents | cb318fac9b20 |
children | 082be5ffacd4 |
files | lib/intprops.h |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/intprops.h +++ b/lib/intprops.h @@ -28,7 +28,7 @@ #define TYPE_IS_INTEGER(t) ((t) 1.5 == 1) /* True if negative values of the signed integer type T use two's - complement, one's complement, or signed magnitude representation, + complement, ones' complement, or signed magnitude representation, respectively. Much GNU code assumes two's complement, but some people like to be portable to all possible C hosts. */ #define TYPE_TWOS_COMPLEMENT(t) ((t) ~ (t) 0 == (t) -1)