From nobody Tue Sep 26 13:43:39 2023 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Rw1DH2LMhz4v9mN for ; Tue, 26 Sep 2023 13:43:43 +0000 (UTC) (envelope-from Paul.Zimmermann@inria.fr) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.inria.fr", Issuer "GEANT OV RSA CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rw1DG1bC1z4FJl for ; Tue, 26 Sep 2023 13:43:42 +0000 (UTC) (envelope-from Paul.Zimmermann@inria.fr) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=inria.fr header.s=dc header.b=pMX5X5O6; spf=pass (mx1.freebsd.org: domain of Paul.Zimmermann@inria.fr designates 192.134.164.83 as permitted sender) smtp.mailfrom=Paul.Zimmermann@inria.fr; dmarc=pass (policy=none) header.from=inria.fr DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:message-id:from:to:cc:in-reply-to:subject: references; bh=GXBWxkOqBjwMAZ51ODPmbOdbIuYdSvDdSNTEPzwn3Ow=; b=pMX5X5O6z8ynDaSTQ02o/jsUI59aHndHKTYAn3J8zGQ5nrJRyoLM+4Vi R9Ab6TMAT2xRrX3DyunCraQSTTWGhnMtV4pxLTzJmDpfxv8JIPHxCcmnq W1g1Tn4A8fzWcyQLrmOwpocqzGLMk9K+1nwE8jskYX0wySreBSg6Yk0D+ k=; Received-SPF: SoftFail (mail2-relais-roc.national.inria.fr: domain of Paul.Zimmermann@inria.fr is inclined to not designate 152.81.9.227 as permitted sender) identity=mailfrom; client-ip=152.81.9.227; receiver=mail2-relais-roc.national.inria.fr; envelope-from="Paul.Zimmermann@inria.fr"; x-sender="Paul.Zimmermann@inria.fr"; x-conformance=spf_only; x-record-type="v=spf1"; x-record-text="v=spf1 ip4:128.93.142.0/24 ip4:192.134.164.0/24 ip4:128.93.162.160 ip4:89.107.174.7 mx ~all" Received-SPF: None (mail2-relais-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@coriandre) identity=helo; client-ip=152.81.9.227; receiver=mail2-relais-roc.national.inria.fr; envelope-from="Paul.Zimmermann@inria.fr"; x-sender="postmaster@coriandre"; x-conformance=spf_only X-IronPort-AV: E=Sophos;i="6.03,178,1694728800"; d="scan'208";a="128008019" Received: from coriandre.loria.fr (HELO coriandre) ([152.81.9.227]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Sep 2023 15:43:39 +0200 Date: Tue, 26 Sep 2023 15:43:39 +0200 Message-Id: From: Paul Zimmermann To: Alexander Leidinger Cc: freebsd-hackers@freebsd.org In-Reply-To: <1395eeabc6d404997f6a09a7b39d3da5@Leidinger.net> (message from Alexander Leidinger on Tue, 26 Sep 2023 15:26:16 +0200) Subject: Re: Accuracy of Mathematical Functions References: <1395eeabc6d404997f6a09a7b39d3da5@Leidinger.net> X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.69 / 15.00]; DWL_DNSWL_LOW(-1.00)[inria.fr:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[inria.fr,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[192.134.164.83:from]; R_SPF_ALLOW(-0.20)[+ip4:192.134.164.0/24]; R_DKIM_ALLOW(-0.20)[inria.fr:s=dc]; MIME_GOOD(-0.10)[text/plain]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[inria.fr:+]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2200, ipnet:192.134.164.0/24, country:FR] X-Rspamd-Queue-Id: 4Rw1DG1bC1z4FJl List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org Dear Alexander, since you ask, you will find some graphs in the last slides of my talk about the correctly-rounded power function (x^y) at Arith23: https://members.loria.fr/PZimmermann/talks/pow-arith23.pdf Once CORE-MATH provides all binary64 functions, we plan to redo these graphs with all existing libraries, including freebsd of course. Best regards, Paul > Date: Tue, 26 Sep 2023 15:26:16 +0200 > From: Alexander Leidinger > Cc: freebsd-hackers@freebsd.org > Organization: No organization, this is a private message. > > > [1:text/plain Hide] > > Am 2023-09-25 15:50, schrieb Paul Zimmermann: > > > We have updated our comparison: > > > > https://members.loria.fr/PZimmermann/papers/accuracy.pdf > > > > This new update includes for the first time the FreeBSD math library, > > whose accuracy is quite good, except: > > I wonder how those functions/libs you tested compare in terms of > speed... > It would allow to provide a hint to the question > "Which lib is the fastest and fulfills the needs in terms of accuracy > for the intended use-case?" > > I agree that the best way to do this requires to run all libs on the > same hardware and OS, which is not feasible in your approach. What may > be feasible is to compare the relative performance of those subsets, > which you run on the same hardware. > > Bye, > Alexander. > > -- > http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF > http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF > > [2:application/pgp-signature Show Save:signature.asc (833B)] >