From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13090 invoked by alias); 7 Jun 2018 14:51:02 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 13039 invoked by uid 89); 7 Jun 2018 14:51:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:1054 X-HELO: relay1.mentorg.com Date: Thu, 07 Jun 2018 14:51:00 -0000 From: Joseph Myers To: Tulio Magno Quites Machado Filho CC: , , Subject: Re: [PATCH 5/9] ldbl-128ibm-compat: Provide ISO C functions not provided by the _Float128 API In-Reply-To: <20180606223909.16675-6-tuliom@linux.ibm.com> Message-ID: References: <20180606223909.16675-1-tuliom@linux.ibm.com> <20180606223909.16675-6-tuliom@linux.ibm.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-SW-Source: 2018-06/txt/msg00145.txt.bz2 On Wed, 6 Jun 2018, Tulio Magno Quites Machado Filho wrote: > These functions do not exist in the float128 api, but they need to be > provided for long double (*l api) because they are part of ISO C. They're not part of ISO C; they are part of *the long double API provided by glibc* (and thus need to be provided for any alternative long double format just like any other semi-obsolescent but still-available long double interface, e.g. qecvt). Is it possible to provide these particular functions in the API without adding extra ABIs for them? For example, if the relevant case in math.h had #defines of __dremieee128 or __ieee128_dreml or whatever it ends up being to the corresponding name for remainder, and likewise for gamma / lgamma, would that work correctly with __REDIRECT to get calls to dreml and gammal working for -mabi=ieeelongdouble without needing to add two new ABIs and two new source files? -- Joseph S. Myers joseph@codesourcery.com