From nobody Tue Apr 28 19:31:45 2026 X-Original-To: standards@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 4g4rCk1mkrz6c0G2 for ; Tue, 28 Apr 2026 19:31: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" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g4rCj5HrLz46fj for ; Tue, 28 Apr 2026 19:31:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777404705; 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=7ivP3fYSGAI8h8RTxM/7tkreCwfyNSTJCIGtefYMKE8=; b=g6mphwKk4xoOY+s5u2D66uo0PXCHkoM1YXS+MK6D/MBGLUYKcZCq7F4Ri2/l3PeZMRmqz2 9GHx86SW0ru7JBZ5LAlniE+q96ceo9Z8U1p1hOa+5rKnzRC5KMeVgGF9rBBY4FrVHMCzvC ij9zg5Zerke0UL8S5W0fgHEcYjsd01S/emIwsnNrc1CzPPj7kR9+PX0llUt8b1e7R2JVM9 nlqM3VySwWTMjDWUM134+uc8XkM3vkHNUT2gplPzYbETYSx9q2OTO0ht/hgrtFz6hVX2Ru p++OOG5TWmdo4jZhcuEcrUDbYEJrZcsSnjfsZfLz0yIDdu1MHj5VZa3KkLXWdQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777404705; a=rsa-sha256; cv=none; b=sewtenNpBPJGCO0GKQ/cgJeyAgCxe+lO5pd8BGALbF/G4Chjiv70OaCdeD9oxz6sdWbQXy Kzh58RP5ROOMAo0rtvKUaIANWGbSGaEhgmUdSX1bal/pq3km5EOzOGljYwmLcJeHWbxvp7 +blygTYWRIRCnVdr6hs6GdrFTPi/4cDMH24Oh11y5SvFu0UPinGPNKCutAeoZAGAUBiMds 9khz46AKsomEF8w3ikKzxqikihU+cDZAdfR2pdNlopc7nM+VoloOqyRZ5Qsk8r2eLJOS9P 2mtZis8jPE+7vbXP34R4SdHTqLOUX7qpZxOfnTc7twR7pG1mne/bYh+5bVhB6w== 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=1777404705; 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=7ivP3fYSGAI8h8RTxM/7tkreCwfyNSTJCIGtefYMKE8=; b=aB3qiNBsfUDzzKwk/hfaR3jW4jRf6I6MV8mb9xGiEJpwa9wMilqARIPitLa2naLXaZX4uP +SkSKGIv8HZHIMPuD/Ro7pNJH4J/1LwlEW7HDiLCZpsCyZAtMY2A4AtHMirWvWRInAJpkI w39RDIbfIcG7fffQiuPOp6c1F3oJhXqZD0Z7l3ZGCzrRY+xQKOt4QLl0sfZIHK6U2mMxPz 3xHOjbynzidvrfzxUKB3q3J0KbNEv88FgzpfsTSFKiwsMExMB2hrnlcqhqdAA24u0zPktW ZWWcsvAtLyltpEZaF+XF7GbU+kxs6dXoApbbu5C0Gq0e62Tjr5JZSEQWudgYTA== 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 4g4rCj4mMBz16yM for ; Tue, 28 Apr 2026 19:31:45 +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 63SJVjb7019244 for ; Tue, 28 Apr 2026 19:31:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63SJVjeB019242 for standards@FreeBSD.org; Tue, 28 Apr 2026 19:31: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: standards@FreeBSD.org Subject: [Bug 294719] lib/msun: Added fmaximum_mag_num Date: Tue, 28 Apr 2026 19:31:45 +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: kargl@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: 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 --- Comment #7 from Steve Kargl --- (In reply to Robert Clausecker from comment #4) I don't know the internals for libm's signbit(). Naively, I would have thought that both gcc and clang provide=20 __builtin_signbit() with optimal implementations if one uses signbit(). I would follow the 'make it work, make it correct, and then make it fast' maxim. I haven't figured out what Jesus is trying to do with the force_except. Reading the description of fmaximum_num etc, I would try something like if (nan_x) { if (nan_y) return (x + y); if (issignaling(x)) feraiseexcept(FE_INVALID); return (y); } if (nan_y) { if (issignaling(y)) feraiseexcept(FE_INVALID); return (x); } --=20 You are receiving this mail because: You are the assignee for the bug.=