From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 105648 invoked by alias); 23 Mar 2018 12:00:38 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 105539 invoked by uid 89); 23 Mar 2018 12:00:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=unaryoperatorshtml, Unaryoperatorshtml, sk:Unary-o, 6.1.11 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-it0-f46.google.com Received: from mail-it0-f46.google.com (HELO mail-it0-f46.google.com) (209.85.214.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 23 Mar 2018 12:00:26 +0000 Received: by mail-it0-f46.google.com with SMTP id e98-v6so2278925itd.4; Fri, 23 Mar 2018 05:00:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BSYjFmuoVPGyakcC4ip48bbSjG94Lop0oQgCX6aZG5g=; b=jdjrL+V4hShSBmUumCKrR3NtJj3tCeEeq6TpGKz6v3uD271v7NPoUMpLljeomHSczO KUIa+V0R9ADN3ROUe8KVwiJAbQkwbLIcNifEVE3t/vz3uPcXQZ32KJy0O8HttTyq2fVh xe0s5wua1cXEyvbSWK/tvs9T3LWTlDaiTM7onqFrnp4M/P0EN9mi88L1QwTCsfKbZMmu wd7crGF0103Lh2hAjJYMm20IMl00uWZjx6ldV30BWfxmeujvxVL2prnpXzzFNqD4FzZS 0Ee/L/dCsJAqXRf9TvSv0N/LeY+b/NsTm4KsYfJOqv36xzMQ+sG3FnFmYc/xgyjUtNEo ZGIg== X-Gm-Message-State: AElRT7H6e43e3/Fwcwv2cbxIP9K/jGPqnJ5dCbQ6wVb5XQal2LE2mMBb v6E1BCRTlwPlqEeusEXOVuUg3ag1XxVExYIkviY= X-Google-Smtp-Source: AIpwx49+z740+8/2RGbWE/s1Ok6m4IclxohbeGh3mLO8BhVGkSsShyW6nWprfK5bVlV3FZmUXEuud5ejh4XnkLd9orY= X-Received: by 2002:a24:94c9:: with SMTP id j192-v6mr1178124ite.91.1521806407280; Fri, 23 Mar 2018 05:00:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.30.10 with HTTP; Fri, 23 Mar 2018 05:00:06 -0700 (PDT) In-Reply-To: References: From: Jonathan Wakely Date: Fri, 23 Mar 2018 12:00:00 -0000 Message-ID: Subject: Re: Please improve wording of explanation of a Gfortran extension To: Cyril Magnin Cc: "gcc@gcc.gnu.org" , "fortran@gcc.gnu.org List" Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-03/txt/msg00227.txt.bz2 CCing the fortran list. On 23 March 2018 at 11:55, Cyril Magnin wrote: > 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 ...". Or "allows the result of unary plus and unary minus operators to appear ..."