From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.9]) by sourceware.org (Postfix) with ESMTPS id 805FB3851C24 for ; Fri, 5 Feb 2021 23:01:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 805FB3851C24 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=SystematicSw.ab.ca Authentication-Results: sourceware.org; spf=none smtp.mailfrom=brian.inglis@systematicsw.ab.ca Received: from [192.168.1.104] ([24.64.172.44]) by shaw.ca with ESMTP id 8A6dlqH7M2SWT8A6flMiJ7; Fri, 05 Feb 2021 16:01:41 -0700 X-Authority-Analysis: v=2.4 cv=fdJod2cF c=1 sm=1 tr=0 ts=601dce55 a=kiZT5GMN3KAWqtYcXc+/4Q==:117 a=kiZT5GMN3KAWqtYcXc+/4Q==:17 a=IkcTkHD0fZMA:10 a=axDLF4JMAAAA:8 a=8pif782wAAAA:8 a=94nOnFI1EgyDtX4ev68A:9 a=QEXdDO2ut3YA:10 a=PAvEFfIi8YbDbmX8zHlT:22 Reply-To: newlib@sourceware.org To: newlib@sourceware.org References: From: Brian Inglis Organization: Systematic Software Subject: Re: accuracy of mathematical functions Message-ID: Date: Fri, 5 Feb 2021 16:01:39 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfFJDr2FQ9aQzsZbrg2zKmItN7Clry8dwP/PvkIZXt1HvsQTns/QWK419LrbP7aWxlNx+3CxaFoD+XXl7krMGk0Why0nF/6ZImwd45qPiL+hW3mhW9vlV VPRLfCrkGQjVNTJLTd1dJrMrpdO/f7ou5mQ4e5B8Hvi2ahoeZS6gKaEctbAExWRCTWMDbEY9VG3Isp6e2MrNEF8grLDJzQsDtdc= X-Spam-Status: No, score=-5.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: newlib@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Newlib mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2021 23:01:44 -0000 On 2021-02-05 03:43, Paul Zimmermann wrote: > I have updated my comparison with the newly released 2.33 version. > No big difference with the previous version, except that I included > the "long double" format (aka ldbl-96), which is not supported by Newlib. > > https://members.loria.fr/PZimmermann/papers/#accuracy Thanks for doing this work and making it available is greatly appreciated. While newlib is mainly targeted to smaller platforms, the Cygwin port math library supports gcc __FLT64X_...__/__FLT128_...__ under .../newlib-cygwin/winsup/cygwin/math/ and related includes. As you may already be aware, clang and gcc have added support for ARM __FLT16/__fp16, AMD and Intel have added it to x86/amd64 as CVT16/FP16C https://en.wikipedia.org/wiki/F16C, and more compiler and library support are likely to follow, as they are already used in graphics and GPGPU areas. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada This email may be disturbing to some readers as it contains too much technical detail. Reader discretion is advised. [Data in binary units and prefixes, physical quantities in SI.] [Shame your CORE-Math proposal was rejected: desperately needed these days, as I've never been a math natural but often seemed more comfortable than other programmers doing related work. Maybe have to comb the literature on reproducible builds, need for verification no backdoors or vulnerabilities have been introduced, and testing results produced are identical across platforms; maybe comb Risks or contact PGN for math horror stories as references and justifications for resubmission.]