From nobody Tue Aug 25 07:54:48 2026 X-Original-To: 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 4hTg6s3yLqz6pr9l for ; Tue, 25 Aug 2026 07:55:01 +0000 (UTC) (envelope-from kargls@comcast.net) Received: from resqmta-a2p-658917.sys.comcast.net (resqmta-a2p-658917.sys.comcast.net [IPv6:2001:558:fd01:2bb4::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4hTg6s1s8rz44bZ for ; Tue, 25 Aug 2026 07:55:01 +0000 (UTC) (envelope-from kargls@comcast.net) Authentication-Results: mx1.freebsd.org; none Received: from resomta-a2p-646964.sys.comcast.net ([96.103.145.236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resqmta-a2p-658917.sys.comcast.net with ESMTPS id ylx7wqzoOQnw5ylziwtnS5; Tue, 25 Aug 2026 07:54:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1787644494; bh=oq8/zn0uAEt7JWwMqN/8Tk3onXi48kMKiw9xgwxty1Y=; h=Received:Received:Message-ID:Date:MIME-Version:Subject:To:From: Content-Type:Xfinity-Spam-Result; b=KxJebl4XauHh+vyGTvqZMSsvfAclJhnFezwZB70m8XA5/jnyaTWMTEi6U3pXPJYWV ShYV319WFK7vssZfgWOn1uEt2UGl4GhlouYM+TKHqhZXknsSF7Lu0C4o1me3mosG5T cNUSGh9SBbwHFbYw/+vXQmhY9X2FA9hC4en5Ob+cubwaOSGaosTSnZ8edFDSVO5sDq dj+0Rlk8ti+NItxeWE8dv5NyWGVs5TtNiiUbI6AVoZAcmsF9PK2+2TMR7uUgRsi/rt j7gXTk5YY3r6VlTOa7N9qrSskeYaiTBi/Nu+VfT4Xtg0eysmv/mbwS6VcdNm3T9q+I vR39e/atI3auA== Received: from [10.0.0.31] ([73.97.237.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 256/256 bits) (Client did not present a certificate) by resomta-a2p-646964.sys.comcast.net with ESMTPSA id ylzcwCNSOfDpzylzdwE1KI; Tue, 25 Aug 2026 07:54:54 +0000 Xfinity-QID: ylzcwCNSOfDpzylziwE1KN Xfinity-Graffiti: 68008260893 Xfinity-Graffiti: 68407330478 Message-ID: Date: Tue, 25 Aug 2026 00:54:48 -0700 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 List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Accuracy of Mathematical Functions To: Paul Zimmermann , hackers@freebsd.org Cc: vincenzo.innocente@cern.ch, riemannic@gmail.com, johnmather@sidefx.com, ozaki@sic.shibaura-it.ac.jp, kargl@freebsd.org, sgk@troutmask.apl.washington.edu References: Content-Language: en-US From: Steve Kargl In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4xfPuz6Ds7c6yul9Ee71EJyFXSgQh4qLB78kfLgtso2IQRva5lghwYjLjU0npPUrW78+1aF7t+5wFh6Slfz8cirhqUZ7GKmjnQFDb0mwa0b4LafYAfeLGA /oY8gXZzPC1xnmH2T77N1mF7tnCkU60HpkKyUjZU8vlB1bOV9TFI1aAMUpPUwd4D4GwFCJcuNc22J4ZMI25ALG9I6xjz8kW+NCG4Xevx+zKqJNIvLoQKLtvI bS/Hz0AnXugCIW9LNTAAg/QeV5NTSKEtx+pOnpXTVseQq0enKD/hagkVLktqQCIDTq6JGZUFSmMm0Xj2J3BFANizAHkBedMmbRi055JIkI/kBuRlaLvsYt4t oH5+MQF2fdm96XppjOajPPQNyc/JPVKsfCtmman4+eu4CGXYa0TE39+LcFTYDFsDDcl+A1fa1bPUiiKkpQIrsLAUFUW7uA== X-Rspamd-Queue-Id: 4hTg6s1s8rz44bZ X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7922, ipnet:2001:558::/29, country:US] X-Spamd-Bar: ---- On 8/25/26 00:29, Paul Zimmermann wrote: > Specific to FreeBSD (we are testing 15.1); > > * We use the generic x86_64 binary from the FreeBSD distribution. Some > slightly different results might be obtained if you recompile FreeBSD using > fused-multiply-add > > * pow still has a large error of 636 ulps for x=0x1.000002c5e2e99p+0 and > y=0x1.c9eee35374af6p+31 > > Looking forward for improvements in the next release! I think that no one has looked at the pow() issue on FreeBSD. I know I haven't, which pretty sums up people fixing bugs in libm. On the bright side, the next release of FreeBSD 15 should have rsqrt, rsqrtf, and rsqrtl (and maybe asinpi[fl], acospi[fl], and atanpi[fl] if code is merged from the mainline into the 15.x branch). -- steve