From nobody Wed Sep 10 21:24:58 2025 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 4cMYcV4mgLz66tr8 for ; Wed, 10 Sep 2025 21:24:58 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cMYcV4L2Kz49KP for ; Wed, 10 Sep 2025 21:24:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757539498; 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=cS+zqVNs5EqZbsHkU7M9fHzMKuyKLOwHt1DsItO5qDM=; b=NzvM41DM9L10yPq+138ElgaNHrfvDqo5k/GlHUAzNNFgLjqii2NfJUS6jMOtoZLLt0pgu7 joXkVao6w0yuhNVMJoxbutEfEh8IgDKeZKXJL4FjEHONjWLt35GyGNndNrYXZKicOt3Zcv AMmI8H+aVCmCNu17LcYsPzy0xldgcvCQN1D2xW9JoV7trp/7yLbS2PrmSrQL0rxR3YI+Tc rVCbSeTRC/6H3hMWdAHFRY6LjZycCRxfwa3OapTsffLZGdHxquNOcefAkDOygcz3zQp3Hv kVI5ZlY+PVRrZ7654Ez20u0CZoPqWSVZI4SRrd5wC8wdA+8tEezeMhkOe0iy8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757539498; 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=cS+zqVNs5EqZbsHkU7M9fHzMKuyKLOwHt1DsItO5qDM=; b=fblVu62rCSV6bkTD41FCeYtOno0QBs39A8t32cHV1TTe7xhftK8Yy7xqfcKMifYrvL08Bs aVR1BunR92wtmizgGcyRTrN1O6K1QIjJ0Jb+/XH8xFJDlFuiI4Q8I6gcGSZMJY1ohwKepk uOTm3m8fXnUKxJSvy9nHiHG1UUABqAhlplMoIm+qZwO/0Icd19acKiCcLylbVYRd0O7cNz Z2yk+rEZM92PipsZ6fJhpTtCgBT86yihsWVQkKNJh9lRURqHDFUJEcprO7b/TrOc0rirzh BSc0NIWPFBOXe6RRRG1NFsAuQm6XTMULRIpaU/eyopUXheqHgZe425WvL6e/Vw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757539498; a=rsa-sha256; cv=none; b=lFdc+xqKTv96lu/sjSUjk63sbEmU2rXUsnKOJdRJIerSgYRWgbLi50OdZRBD2YYhyTd3fX XENMnNhKa7a0SJC8j0aQedh9dd9z1WbkB6RJ+IyXgOWIqZA4yMCmmshtVaF5ou4NO/hGbL gFF/18oQW/Nkfth6mBH7ct7wrxr9OFTE2aDl560871dAAQu6hd2yjAMnw17hkDINKsnKM0 2mSKQzAYmsmEvS0GA2kTHHUG5oSRiyfFQsxa4eba10Syo7AEnz50zBWhkkvQrAIqPbod/Z U7aw+zksh7D56av7uZ73bLPaRbCORRLleHqFhzhRqzyoPw6WkUcG41oJ08/Wyw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cMYcV3fWszfmv for ; Wed, 10 Sep 2025 21:24:58 +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 58ALOwh1096738 for ; Wed, 10 Sep 2025 21:24:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 58ALOwI7096737 for bugs@FreeBSD.org; Wed, 10 Sep 2025 21:24:58 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 289447] [libm] Fix cpow[fl]() to be consistent with pow[fl]() and glibc Date: Wed, 10 Sep 2025 21:24:58 +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: Unspecified 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 attachments.created 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=3D289447 Bug ID: 289447 Summary: [libm] Fix cpow[fl]() to be consistent with pow[fl]() and glibc Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: kargl@FreeBSD.org Created attachment 263688 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D263688&action= =3Dedit path to libm sources The attached patch addresses an issue raised in https://lists.freebsd.org/archives/freebsd-hackers/2025-September/005052.ht= ml For pow(0.,0.), the returned value is 1. For cpow(z,z) with z =3D CMPLX(0,= 0), the returned value is 0. See the note in pow(3) man page. The patch brings FreeBSD's libm into agreement with glibc. --=20 You are receiving this mail because: You are the assignee for the bug.=