[PATCH] Fix spelling of ones' complement.

Bernhard Reutner-Fischer rep.dot.nop@gmail.com
Tue Nov 16 19:57:07 GMT 2021


On Tue, 16 Nov 2021 15:55:55 +0100
Aldy Hernandez via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:

> All sources before Knuth are clearly wrong.  How could they not?
> Folks living in the pre-Knuth era lived without a deity.
> 
> :-P

Not sure if this one's a compliment.

Speaking of which:

$ git grep -i "complim"
gcc/ChangeLog-2000:	addition over compliments over shifts.
gcc/ada/sem_util.adb:      --  Assume that the main unit does not have a complimentary unit
gcc/ada/sem_util.adb:      --  Obtain the complimentary unit of the main unit
gcc/config/fr30/fr30.c:      /* Convert GCC's comparison operators into the complimentary FR30
gcc/config/mn10300/mn10300.md:  /* Recall that twos-compliment is ones-compliment plus one.  When
gcc/config/nds32/constraints.md:  "A constant whose compliment value is in the range of imm15u
gcc/config/nds32/nds32.md:;; 'ONE_COMPLIMENT' operation
gcc/config/sparc/sparc.h:   compliment of ordered and unordered comparisons, but until generic
gcc/config/visium/visium.h:   compliment of ordered and unordered comparisons, but until generic
gcc/d/expr.cc:  /* Build a compliment expression, where all the bits in the value are
gcc/d/intrinsics.cc:   Variants of `bt' will then update that bit. `btc' compliments the bit, `bts'
gcc/doc/md.texi:A constant whose compliment value is in the range of imm15u
gcc/ipa-reference.c:	  /* Create the complimentary sets.  */
libstdc++-v3/testsuite/data/thirty_years_among_the_dead_preproc.txt:compliment

Maybe someone competent should contemplate to complement the fixes
for ones' two's complement in the above, except the first and last... ;)


More information about the Gcc-patches mailing list