From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62306 invoked by alias); 26 Sep 2016 18:26:25 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 62290 invoked by uid 89); 26 Sep 2016 18:26:24 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=radians, hardly, U*toon, sind X-HELO: moene.org Received: from moene.org (HELO moene.org) (80.101.130.238) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 26 Sep 2016 18:26:14 +0000 Received: from [::1] (helo=moene.org) by moene.org with esmtp (Exim 4.87) (envelope-from ) id 1boabR-0005Lm-Ku for gcc-patches@gcc.gnu.org; Mon, 26 Sep 2016 20:26:09 +0200 Subject: Re: [PATCH, Fortran] Extension: COTAN and degree-valued trig intrinsics with -fdec-math To: gcc-patches@gcc.gnu.org References: From: Toon Moene Message-ID: <3fb212d9-f389-347f-30c3-2c4aa1290102@moene.org> Date: Mon, 26 Sep 2016 19:08:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Icedove/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-09/txt/msg01873.txt.bz2 On 09/26/2016 04:01 PM, Fritz Reese wrote: > All, > > Attached is a patch extending the GNU Fortran front-end to support > some additional math intrinsics, enabled with a new compile flag > -fdec-math. The flag adds the COTAN intrinsic (cotangent), as well as > degree versions of all trigonometric intrinsics (SIND, TAND, ACOSD, > etc...). This extension allows for further compatibility with legacy > code that depends on the compiler to support such intrinsic functions. Don't you want an option name like -fdegree-trigon-math ? Note that option name lengths are hardly a problem, as most end up in scripts and make files ... Whether support for COTAN (in radians) should be part of this option - I rather had it not. Kind regards, -- Toon Moene - e-mail: toon@moene.org - phone: +31 346 214290 Saturnushof 14, 3738 XG Maartensdijk, The Netherlands At home: http://moene.org/~toon/; weather: http://moene.org/~hirlam/ Progress of GNU Fortran: http://gcc.gnu.org/wiki/GFortran#news