public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Cyril Magnin <cyrmag7@gmail.com>
To: gcc@gcc.gnu.org
Subject: Please improve wording of explanation of a Gfortran extension
Date: Fri, 23 Mar 2018 11:55:00 -0000	[thread overview]
Message-ID: <CAEf5V55Ha9scK7nL69_vPRV1fOZ33xnya-qVByy6+hFMA4ArCA@mail.gmail.com> (raw)

On the page
https://gcc.gnu.org/onlinedocs/gfortran/Unary-operators.html#Unary-operators,
we find the following statement:

6.1.11 Unary operators
>
> As an extension, GNU Fortran allows unary plus and unary minus operators
> to appear as the second operand of binary arithmetic operators without the
> need for parenthesis.
>
>        X = Y * -Z
>
>
> The meaning is quite clear, but the wording can be improved. An "operator
appears as the second operand" ? Perhaps this could say, "...unary plus or
minus operators to be applied to the second operand of.." or "unary plus or
minus operators to be prefixed to the second operand of ...".

Thanks.

             reply	other threads:[~2018-03-23 11:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-23 11:55 Cyril Magnin [this message]
2018-03-23 12:00 ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEf5V55Ha9scK7nL69_vPRV1fOZ33xnya-qVByy6+hFMA4ArCA@mail.gmail.com \
    --to=cyrmag7@gmail.com \
    --cc=gcc@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).