From nobody Thu Jan 1 22:21:31 2026 X-Original-To: dev-commits-src-branches@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 4dj1Wb5wzrz6MnsX for ; Thu, 01 Jan 2026 22:21:31 +0000 (UTC) (envelope-from git@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 4dj1Wb3BgVz49PS for ; Thu, 01 Jan 2026 22:21:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767306091; 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=vtjJjYGu8AxTA4flPXMgt14qogxVpRK+SId30trQBzQ=; b=Ffkgz3GulV6tLuvczuiwxyGgqtxaYRe80lMq2uCmguAXCL4ceQypEMT4gArrtMNeSS+Ssu Cu24+VO7TOX9LQ2dhJMVNffKDl7aupbTt7wng0GOdzDFVtdfITHlEGI2lsupMuLPPT/GHk d3UyOlmh661Wd3Y+xWcd4aX2KmqrRC/5TsQlngkAUHyBCu72C3YAaI6/o5QxB3F9QhwOUs VDSJprcJMsL2SYFjk3GidKNLIFA8qIggcfiW56qE06IGlvyS61KseJrtXtrplHAwO1HPSv 56fQlRakymlLIt/y6K5VtQqeGCqAXkBig5pdmGSHT9ZprvDMvcyO73b2uTWCWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1767306091; 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=vtjJjYGu8AxTA4flPXMgt14qogxVpRK+SId30trQBzQ=; b=yqGX8HHW40jhS4qqUECguQYZCBBLZF7Lf/cQGa2y6tXA1IqERveskUbfJ+cwfbE85RabN6 c1hLt8EibD/kMiuNmZa/cRgzJFl9vzw9jusz3RvhlNSQLrOi7yCTxykL0bx1O+bH58dZLn JtShlNI2vc2fl5w45XfveeL7LUkamuOTr6wGYAT71bdnHlQz8bNky3airHWrnimnqOG0YS ZIK0LiHwBjsrK710SWtWzoOeqcCKcJLit5F3lEk2wU3LfVZojrjouipiWJX1eMu47knC8K fpxT3iCe+TokJTbBrYM002LS0ChCTax7xLV+igVJ/4aZAbAy1Nh//TPrZXHs3A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1767306091; a=rsa-sha256; cv=none; b=jJdsC+okgifDruIuv1DpOaS31W4pHcu4D45DcmhWRpAthFGC6V8dHYO0sEhBVHbyiebGWI l+kWSRRef0NT4TzHsAIOQXWVPUb+IaxoKhO9VgigozMK+QojIso0VX5iQANOcMO3VWNWQ0 CFC5v5UU5/tqQZC0gGyewUpLm/wSd5zWl/AgtX9o4iZQTl7sW3MzgG1HObRZVVUVwcIfEU 6e9Grp71JEUpQWY+334IIb9BK3y3HXkk7Ib4enBW3ORsq/M6GkU0KyhczomuzG9iizmOMN g3zUbFz3Cg22gTzNYHz91LGxHe9CTPuaTL7j2N2DYiLlzpbG8vC7ffQ8dlFeUw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dj1Wb2pFlzrly for ; Thu, 01 Jan 2026 22:21:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id eee2 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 01 Jan 2026 22:21:31 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Robert Clausecker Subject: git: 104488641aca - stable/15 - msun: expose the C23 functions we already support in List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fuz X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 104488641acaf2269d860d8abf142d80a340a5e8 Auto-Submitted: auto-generated Date: Thu, 01 Jan 2026 22:21:31 +0000 Message-Id: <6956f36b.eee2.475c443b@gitrepo.freebsd.org> The branch stable/15 has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=104488641acaf2269d860d8abf142d80a340a5e8 commit 104488641acaf2269d860d8abf142d80a340a5e8 Author: Robert Clausecker AuthorDate: 2025-11-17 17:09:11 +0000 Commit: Robert Clausecker CommitDate: 2026-01-01 20:47:33 +0000 msun: expose the C23 functions we already support in This is the *pi family of trigonometric functions. Quite a few C23 functions are still missing. These seem to be: acospi, acospif, acospil, asinpi, asinpif, asinpil, atan2pi, atan2pif, atan2pil, atanpi, atanpif, atanpil, canonicalize, canonicalizef, canonicalizel, compoundn, compoundnf, compoundnl, daddl, ddivl, dfmal, dmull, dsqrtl, dsubl, exp10, exp10f, exp10l, exp10m1, exp10m1f, exp10m1l, exp2m1, exp2m1f, exp2m1l, fadd, faddl, fdiv, fdivl, ffma, ffmal, fmaximum, fmaximum_mag, fmaximum_mag_num, fmaximum_mag_numf, fmaximum_mag_numl, fmaximum_magf, fmaximum_magl, fmaximum_num, fmaximum_numf, fmaximum_numl, fmaximumf, fmaximuml, fminimum, fminimum_mag, fminimum_mag_num, fminimum_mag_numf, fminimum_mag_numl, fminimum_magf, fminimum_magl, fminimum_num, fminimum_numf, fminimum_numl, fminimumf, fminimuml, fmul, fmull, fromfp, fromfpf, fromfpl, fromfpx, fromfpxf, fromfpxl, fsqrt, fsqrtl, fsub, fsubl, iscanonical, iseqsig, issignaling, issubnormal, iszero, nextdown, nextdownf, nextdownl, nextup, nextupf, nextupl, pown, pownf, pownl, powr, powrf, powrl, rootf, rootl, rootn, roundeven, roundevenf, roundevenl, rsqrt, rsqrtf, rsqrtl, ufromfp, ufromfpf, ufromfpl, ufromfpx, ufromfpxf, ufromfpxl. Reviewed by: imp Approved by: markj (mentor) MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D53783 (cherry picked from commit 37fa5b36abb15b322493aba20146709d48359507) --- lib/msun/src/math.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/msun/src/math.h b/lib/msun/src/math.h index aecc652ea08a..25bd64e36a63 100644 --- a/lib/msun/src/math.h +++ b/lib/msun/src/math.h @@ -508,6 +508,9 @@ long double lgammal_r(long double, int *); void sincos(double, double *, double *); void sincosf(float, float *, float *); void sincosl(long double, long double *, long double *); +#endif /* __BSD_VISIBLE */ + +#if __ISO_C_VISIBLE >= 2023 double cospi(double); float cospif(float); long double cospil(long double); @@ -517,7 +520,7 @@ long double sinpil(long double); double tanpi(double); float tanpif(float); long double tanpil(long double); -#endif +#endif /* __ISO_C_VISIBLE >= 2023 */ __END_DECLS