projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f35690d
)
one's complement -> ones' complement (as per Knuth)
author
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 26 Mar 2005 17:53:44 +0000
(17:53 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sat, 26 Mar 2005 17:53:44 +0000
(17:53 +0000)
lib/intprops.h
patch
|
blob
|
history
diff --git
a/lib/intprops.h
b/lib/intprops.h
index 409e0f1d4d41a5dae388907f9f14cacedd0d2099..d36c182f4038acaf8d7abd4e23866d41dcac41d4 100644
(file)
--- 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, one
s'
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)