From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by sourceware.org (Postfix) with ESMTPS id 3566E3851C0A for ; Sat, 6 Feb 2021 06:23:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3566E3851C0A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=inria.fr Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Paul.Zimmermann@inria.fr X-IronPort-AV: E=Sophos;i="5.81,157,1610406000"; d="scan'208";a="372259238" Received: from tomate.loria.fr (HELO tomate) ([152.81.10.51]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Feb 2021 07:23:29 +0100 Date: Sat, 06 Feb 2021 07:23:28 +0100 Message-Id: From: Paul Zimmermann To: newlib@sourceware.org Cc: newlib@sourceware.org In-Reply-To: (message from Brian Inglis on Fri, 5 Feb 2021 16:01:39 -0700) Subject: Re: accuracy of mathematical functions References: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, 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: Sat, 06 Feb 2021 06:23:34 -0000 Dear Brian, > > 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. thank you. > 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. how to get them in libm.a? For example I get only 'ctanhl' available, but not 'tanhl': $ nm libm.a | grep tanhl lib_a-atanhl.o: lib_a-catanhl.o: 0000000000000000 T catanhl lib_a-ctanhl.o: 0000000000000000 T ctanhl lib_a-tanhl.o: > 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. thank you, if/when they are available in libraries, I will extend my comparison to those formats. Best regards, Paul