From nobody Mon Sep 25 13:50:05 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 4RvPQ73Ssdz4rMRP for ; Mon, 25 Sep 2023 13:50:07 +0000 (UTC) (envelope-from Paul.Zimmermann@inria.fr) Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) (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 4RvPQ64ZdZz4PW1 for ; Mon, 25 Sep 2023 13:50:06 +0000 (UTC) (envelope-from Paul.Zimmermann@inria.fr) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=inria.fr header.s=dc header.b="q/wghIKE"; spf=pass (mx1.freebsd.org: domain of Paul.Zimmermann@inria.fr designates 192.134.164.104 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:subject; bh=HDNosylXZBtpUXX16UAuamajfzKkkC13ZlYgAJUGS5k=; b=q/wghIKEBUuCj6fgfaZB8/mm3lhRNfKzDaytAEK0Lq4Vwc3b5yB62b26 iAWZu9UXRahfLHnYEJ+Dct5KvHdyOYsW0pgRZW+v6TzMoSMdaU+xeUqEY ea/I76WbfY3+D11kIh+bFitw53FZI+Z0lwsi2GboyRLjR6BcLj858CKkB 8=; Received-SPF: SoftFail (mail3-relais-sop.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=mail3-relais-sop.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 (mail3-relais-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@coriandre) identity=helo; client-ip=152.81.9.227; receiver=mail3-relais-sop.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,175,1694728800"; d="scan'208";a="66888172" Received: from coriandre.loria.fr (HELO coriandre) ([152.81.9.227]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Sep 2023 15:50:05 +0200 Date: Mon, 25 Sep 2023 15:50:05 +0200 Message-Id: From: Paul Zimmermann To: freebsd-hackers@freebsd.org Subject: Accuracy of Mathematical Functions X-Spamd-Bar: ----- X-Spamd-Result: default: False [-5.10 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; DWL_DNSWL_LOW(-1.00)[inria.fr:dkim]; NEURAL_HAM_SHORT(-1.00)[-0.996]; DMARC_POLICY_ALLOW(-0.50)[inria.fr,none]; R_SPF_ALLOW(-0.20)[+ip4:192.134.164.0/24:c]; R_DKIM_ALLOW(-0.20)[inria.fr:s=dc]; MIME_GOOD(-0.10)[text/plain]; RWL_MAILSPIKE_GOOD(-0.10)[192.134.164.104:from]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-hackers@freebsd.org]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[inria.fr:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:2200, ipnet:192.134.164.0/24, country:FR] X-Rspamd-Queue-Id: 4RvPQ64ZdZz4PW1 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 Hi, I hope this is not off-topic for this list (Technical discussions relating to FreeBSD). 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: * single precision: the Bessel functions, lgammaf, cospif, sinpif, tanpif, powf * double precision: the Bessel functions, lgammaf, tgammaf, cospi, sinpi, tanpi, pow * double-extended precision: erfcl, lgammal, tgammal, cospil, sinpil, tanpil, powl Some issues have already been fixed in the development version by Steve Kargl (we used FreeBSD 13.2). Best regards, Paul