nt-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g4h3y27k9z4KZL for ; Tue, 28 Apr 2026 13:24:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777382670; 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=LwPyLhoQpZyZjjS9PmSda6Je9WUQ6qpmmr1WMg8vzts=; b=hqds2Bpp76+Ce8PB+UBoHLwBZh05grFgohJFc5t3IvXyQ/5LRJF6jUwpB9eX5EDWuqTyCX AGDr2DFFyrOTItnvqx+Dfr3fgOI1OC4S+uHf+hM/kWleeMDjVP3PQ/aPfW1FujeY/87RWa 5jkDwe1DE/xuQz3kt0AZQy2jyjScE5/bv0xCf197Y7TFXQPgZvOvsM9fiTJzz/mwgFiYCm RX1zonOnjsV5w4o3siRvuR347KuW0vzlTPO5BK+kqx8h0AsA2e4jN+v6iU7F9RUMW0YsmR qUMEsnmL9NI1UgB9ht2tqiJDKq1iEwBsIHrkQdEiXn7G/Y9qkqYarWnzEj3xIg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777382670; a=rsa-sha256; cv=none; b=FujW07RaiX4jj2MXAc2jYr2t9cmkEnw5W0meQN2T/SpyYFhVzMe6NKNX92LlQx8c5BmcJT RQs5gB/xHaUFX73xfmXSFbNna/E4imxeR80vrbTTRoHa7+clXDbr4f7D2OdPWERaVgKshI MVdVx1gnsyDg9NLh1CoUfG0oPxjRhDeEOw7F/+swo+rP5W0ODs5L56UUNSrKnMgSHiqTsF EKob8aTTIAEwV5easYWy/Ivcaz9r4oPiGWoeRc13TnUoDRSTb0jMYwbv5SQ0eFVexb1aY0 ormKCIhOQrP4nV4s77wzK+DnLQjzDjiIG8p0sy8e1XFsAe1Mq9swT0UV8rCYbg== 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=1777382670; 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=LwPyLhoQpZyZjjS9PmSda6Je9WUQ6qpmmr1WMg8vzts=; b=kLpkeBPIE8t9XJrD3ogrZ5ImE1Qmj9NIqZbtgfL/IrcXuSYPA9uKiromImmYcziELSdiNG J3OVu1FlGBVwSz93G1mgnR+7ncX70kFkUUEj45wpDAH9b9O8HA2/dTcZg9dd41Yxn6h+bj G5Mab/++gAwcroBcbQRV6Zwse7ZS7k62HAutWqp6Go26W7PIzd2sXXKKRS2NGbGS3KlDcS FmZ+BGunbChPEqys+LrNEKvaXhh1go1Sf0TA327rx4WkwImX60XipZ33ON0BF6D4h91DkR NJrhLxEc1KZ5bfyRayG2yQOdCTL7IUfLvZazPoCMCJP+6dhIQ8r/m6HD53swkA== 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 4g4h3y1jsczvqk for ; Tue, 28 Apr 2026 13:24:30 +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 63SDOUjK098425 for ; Tue, 28 Apr 2026 13:24:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63SDOUXI098424 for standards@FreeBSD.org; Tue, 28 Apr 2026 13:24:30 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: standards@FreeBSD.org Subject: [Bug 294719] lib/msun: Added fmaximum_mag_num Date: Tue, 28 Apr 2026 13:24:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: fuz@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: version bug_status Message-ID: In-Reply-To: References: 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: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-standards@freebsd.org Sender: owner-freebsd-standards@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294719 Robert Clausecker changed: What |Removed |Added ---------------------------------------------------------------------------- Version|16.0-CURRENT |CURRENT Status|New |Open --- Comment #4 from Robert Clausecker --- (In reply to Jes=C3=BAs Cipriano Bl=C3=A1zquez Mart=C3=ADnez from comment #= 3) Ok, I guess I was unclear about what I meant by "Not sure if the void cast = to avoid the unused warning is actually needed". I meant that perhaps the whole (void)force_except; statement can be removed. If it is present, then yes, you should cast (void) to avoid a =E2=80=9Cstat= ement without effect=E2=80=9D warning. But I think it can be removed entirely. I'll check which case it is and copy-edit your patch before landing it. I do also wonder if we can do better in the final tie break. How about this for fmaximum_mag*()? return (signbit(x) ? y : x); and conversely for fminimum_mag*()? return (signbit(x) ? x : y); This would also apply to the versions with _num() and would allow us to avo= id unpacking the datum entirely. Unfortunately our signbit() macro resolves in such a way that the compiler = does not recognise it as such and generates really bad code. That should be fix= ed long term. Maybe short term the current approach is thus better. kargl, what do you think? --=20 You are receiving this mail because: You are the assignee for the bug.=