[PATCH] Fix spelling of ones' complement.

Koning, Paul Paul.Koning@dell.com
Wed Nov 17 01:35:44 GMT 2021

> On Nov 16, 2021, at 4:19 PM, Marek Polacek via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
> On Tue, Nov 16, 2021 at 01:09:15PM -0800, Mike Stump via Gcc-patches wrote:
>> On Nov 15, 2021, at 5:48 PM, Marek Polacek via Gcc-patches <gcc-patches@gcc.gnu.org> wrote:
>>> Nitpicking time.  It's spelled "ones' complement" rather than "one's
>>> complement".  I didn't go into config/.
>>> Ok for trunk?
>> So, is it two's complement or twos' complement then?  Seems like it should be the same, but  wikipedia suggests it is two's complement, as does google.  If that is wrong, you should go edit it as well.  :-)
> It is "two's complement":
> https://gcc.gnu.org/pipermail/gcc-patches/2021-November/584543.html
> but Knuth also continues to say that there's "twos' complement notation",
> which "has radix 3 and complementation with respect to (2...22)_3."
> It's not lost on me how inconsequential this patch is; I'm happy to just
> drop it and let the copy editor in me sleep.
> Marek

To me it isn't so much a question of copy editing, but rather the fact that there clearly are two spellings, and if anything the one in the current text is the common one and the Knuth one found less often (perhaps only in Knuth).  My answer is to go fix Wikipedia, if possible.


More information about the Gcc-patches mailing list