From nobody Fri Feb 6 05:37:46 2026 X-Original-To: bugs@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 4f6jXp32m5z6Qbb4 for ; Fri, 06 Feb 2026 05:37:46 +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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4f6jXp2SpYz3ZYh for ; Fri, 06 Feb 2026 05:37:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770356266; 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; bh=V028z+jN8jILhVBydP7TQkC0bQrNc92WFgkfd2O+DkY=; b=SJKWARpNafP1qQKU7de3TX7jqc6nhD1AS7lg7knFD37J7I0uvQG4GV/rk8u+EKIqHya7Xe LyzzkIMoir0foN0W2oBD7Svpud8ctTywZKvhhyII2IdXUkjSyn0gfPOD9RQw7qIKPBsbds JpOtWi/UeVWE32Laqv4q9lBmgFFkXprcSUICELFvZ7jY2J/A5uSlXiv1yrOBLT/hc8iRwI 0fq8Td8/ScsFRr/lzPhUQcL2rbQ/eLRTufv4nvEEVUJ/50p68v5lVmislAdAFiUDyfBhAQ UWE4gFosNjIzH8me59p1sZIJBDNsA+h2DEXjiFn5Hz/9Nf4BjoCpsBy5wosp2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1770356266; a=rsa-sha256; cv=none; b=WISL5l9OiK7WGqdvZDfnjXC2uPVFCSNKbx/Y7Tiu9VNaA41x1kj8QXGkQKlqSGXJLDHRq3 +RfvceXoKVfBWfLBwfLfznV4qh7ZbcjlikWun1NHECYkYPA+T9RrORy53nNxWPE3ogUCH+ c7di8D3LoCDsL5UgZ4eZ6dbMD6PV70bYwxI6crXRcmAgIrs08eZ3t6Jz/M0+KOnZTpe/mq f8bCLW8HRo6LCiHbyNaiFk+81W+456MUkjpripui0EWIpSgSL8VgOzNqtd6M2OiqWVhXKM 7VeKZXNvVKFGWZAT5pEu+69RqucGygUr6tJCFs7gflHgoparlqMymG/v9EnneQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1770356266; 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; bh=V028z+jN8jILhVBydP7TQkC0bQrNc92WFgkfd2O+DkY=; b=qSSzjqQclW+2wwpW/E16tuyfJWqR06lMIFnPH+bjhfRwj6XjmmQ334f1q/3+2eavN7/d5C HrDmynH2Kuv/144cKsmwxijUtU+QFZ9Sr3WViHVvDeMyqx3QlZCd+VfbJLDLJYF8I2cOm8 L+pyUHdlG2MQIxIlmrBXpvR70yFhi+zdv51T0TomnNuAbRmytOM2+ZgE2qgWI0kHc3K3U0 tyrM/qoz+TeupaE2hTZ2e3BmXoV4ZAqtqu85OYiK9nJ2OhTG4jU4ZywcTQMlMNSMY173Nb V8H2UN64SrrknKT3kqbsl1GpimbdCvEW5Y/03jdAbqkrULvwm9+BOiDASKb9BQ== 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 4f6jXp1Yyjz12t1 for ; Fri, 06 Feb 2026 05:37:46 +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 6165bjEt075814 for ; Fri, 6 Feb 2026 05:37:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6165bjvr075813 for bugs@FreeBSD.org; Fri, 6 Feb 2026 05:37:45 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: bugs@FreeBSD.org Subject: [Bug 292988] [libm] powl(x,y) gives the wrong result on x86_64. Date: Fri, 06 Feb 2026 05:37:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kargl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292988 Bug ID: 292988 Summary: [libm] powl(x,y) gives the wrong result on x86_64. Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: kargl@FreeBSD.org The following code produces the wrong result. /* * This code yields an NaN when the result should be zero. */ #include #include int main(void) { long double x =3D 0x1.98p-3072L; long double y =3D 0xa.ab43b6dba9a6383p+16364L; long double v; v =3D powl(x, y); printf("%.21Le\n%.21Le\n%.21Le\n", x, y, v); return 0; } The bug was originally identified by Paul Zimmermann, and I've confirmed his finding. I do not hack on libm functions, which were imported from Cephus, so I cannot help with a patch. --=20 You are receiving this mail because: You are the assignee for the bug.=