This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
Re: typo in comment
- To: gdb-patches@sourceware.cygnus.com (gdb-patches)
- Subject: Re: typo in comment
- From: John Marshall <John_W_Marshall@palm.com>
- Date: Wed, 11 Aug 1999 21:54:46 -0700 (PDT)
>> But should it be (2**(8n))-1 or 2**(8n-1) ? Hard to tell with just
>> 2**(8n)-1 (I never rely on pedantry).
>
> If you can show me any infix language where subtraction binds more
> tightly than exponentiation, I will add those parens.
Er, well, actually... especially since the multiplication operator is
elided like a mathematician would do...
I tend to read `**' as `superscript' and since `-' is narrower than `**' it
looks like
(8n)-1
2
But `2**8n - 1' would look like the other one.
John "pedants 'r' us :-) :-)"
"especially since the original `2**(8n))-1' is also only one
character away from `(2**(8n))-1'"