From nobody Fri Apr 22 19:12:11 2022 X-Original-To: numerics@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 3AA861988BF3 for ; Fri, 22 Apr 2022 19:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19: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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KlPDC098gz3PNp for ; Fri, 22 Apr 2022 19:12:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CFD6223069 for ; Fri, 22 Apr 2022 19:12:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23MJCA3x064953 for ; Fri, 22 Apr 2022 19:12:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23MJCAfQ064952 for numerics@FreeBSD.org; Fri, 22 Apr 2022 19:12:10 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: numerics@FreeBSD.org Subject: [Bug 227179] powl has lower than advertised precision Date: Fri, 22 Apr 2022 19:12:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: numerics@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions of high quality implementation of libm functions List-Archive: https://lists.freebsd.org/archives/freebsd-numerics List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-numerics@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650654731; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wd+co50N+/vDLO8oenNc9G73O09u+y+nkqRiL2jXbm4=; b=jc8eh81yUDQdQCYpWiToXOoXbMzuPZLUrGew4meTujy9gvJ4ybFR6Lt5ppJrjO9auusLBE SWu+AfO68cGVMUhJ7zn1efCZcmF0ClhfI7SxgtvbeDm+y3KT4DBAAMael0lriDwcDqzFwA KyBtpP9ylG/G+wxMtFxhsLMyRO2i5l7w2Iun/sQ17vLXXZTYo1F33OuHj9Ezy7p0gygvU/ xPUY/bWug0Gb3Wz5BVJe8PCqGl6WZafTrVm48vFEjFD4hIVXw14eDt7QyhWjbt7ZHzNqoH /bUZ4LvVrDMV3+kFYPccVGZGxPFGxOszz6OlAK4t71tKllqszvb4C6Ycvj4sZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650654731; a=rsa-sha256; cv=none; b=G1CZ2NHx9m5IQSKmDl+RSjOfFZisJ8bbMBG/TEYqy7MjRC1JJs12Ap251hMB4FRFKXbcdT AFabwn0KMC1UOG55NN+V4fLY0ni0qKH8EC6qm+Li4vF9dgYhAy23xyz647/L8T4KDiAZw6 uQnQXa5eGa39apCV/4EZThAdUsUHR+mglMYkvb3eBYPQa3zl8P2rHCuEg3JtLIKqfGUcnL GBqxHYvcr/MQdD5j6HOTFY9m3I1Nm/3UQSo2+4iytKVKJMW8Q1BKAObCF6LGN9YRs9ylZ2 ZQNHUFs/HT/Mrmv+c0c3QYMHFhBDMP+m69TChIbwkxwdGO5G/kekuoZLsTNrvg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227179 Dimitry Andric changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dim@FreeBSD.org --- Comment #4 from Dimitry Andric --- The functions were updated via bug 229876, originally submitted by Steve. There aren't any specific test cases for the mentioned precision issues tho= ugh. That said, on my 14.0-CURRENT as of 2022-03-31, I see: % ./pow-O0 pow(integer{2}, 4.5l) -> 22.627416997969520780220609168509 std::pow(2.l, 4.5l) -> 22.627416997969520780220609168509 % ./pow-O3 pow(integer{2}, 4.5l) -> 22.627416997969520780220609168509 std::pow(2.l, 4.5l) -> 22.627416997969520780220609168509 In all cases, it eventually calls . --=20 You are receiving this mail because: You are the assignee for the bug.=