From nobody Mon Nov 17 17:19:07 2025 X-Original-To: dev-commits-src-main@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 4d9DxR5S7Bz6Gb33; Mon, 17 Nov 2025 17:19:07 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d9DxR30Gsz3c0n; Mon, 17 Nov 2025 17:19:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763399947; 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=snHHudYe+tU363bC8KdqApQd+vztnVH6kB8DguXx2zg=; b=DXGOFSLULs9fEo4gq89OiRDIWRnLCCS9YBmxRtepha8jn5Zkdnm7eOHCplYhA+yJLFraPI gdQQ58Oy+RoIQ41oIlE0wkFaF7iEMVFqunByo0tfyBE6zAQ0/ZI3Zksr+tfzEhiDHQ3vVH 0ERoPI8HnN05oQC7qZXv0akWaTYHO7RuDqbKqMg1qAAIivkfwoQavDIYVCvsLWSPpSgG/X ujqrlWKv1dP+M9QIcjO1CXk+Ar7xikTG1qHlyvtaQ5MnmhbXbQQCVXo0iOKnviesqotGqE 9hVeInh7Cf70+lZPuTsmyuJekAykrCa9GuQQu3DfWnPdhD8dTEuhwTnIHSupGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763399947; 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=snHHudYe+tU363bC8KdqApQd+vztnVH6kB8DguXx2zg=; b=L7fdJuosYgF1lzFhTymgheNRzalM6iNVqFATYKAUl3oTFKxowzvyYSuwEWh1MWi9piOhpI RmzD4LjgK/M9CSq4X1m8VvE2+G5AGU8iI3G+tMVYo0EGDWlMNXrde1GeG+2uaZj6TKotAd hEFrMfTLAkaQJoD+Qyq/APErUOx7b54hqJTzAqKe0Qw/25/PXRgv64tMJd+Kj/7wFMZoTG zD6eJEGrH2VgC9hwl0Wqs2Rue9j3ROsXP43nR9uyqRq3+w1Zs7crZ/n3j9wEk/zNFkct+j DhGDUa5snkie0UxIaUEEokDyNyTgbWBTxeDTe6neujAylcIlw8JbkhCr1kAlbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763399947; a=rsa-sha256; cv=none; b=UTyjvULrVwM1p+xo19pTBvjiJP9rnC2XfOudWMlb/v71DZ6DTc3VcXmt/LefzIjiVSDsWm kitNlnoQpyMC+tEkmCNiWVZaiJCIUfiPnMJSN+bpF7HrA6ILnbyjH/GcnHM61EI0Er2Avz vGp+qwn62hRKo6eOXamQHJ8TWcOLWs3CTlr/aV3WXLCI8sbwt5ly2//j9dDWZmresTUooo /9Efpx6C8u63bjN/TX2UGX/C6nrcNHqs2LXbWyIzg9dy123MysAPSUCdiYmtxUHxfilM5i kU7cwgmeqDHcSgQ+aZOtW+FYDGMGO/ASC8DvS2E8bJz4JHhnSU8nhjW52c3o4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4d9DxR1v9xz2rP; Mon, 17 Nov 2025 17:19:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 5AHHJ7fR084204; Mon, 17 Nov 2025 17:19:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 5AHHJ7fx084201; Mon, 17 Nov 2025 17:19:07 GMT (envelope-from git) Date: Mon, 17 Nov 2025 17:19:07 GMT Message-Id: <202511171719.5AHHJ7fx084201@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Clausecker Subject: git: 37fa5b36abb1 - main - msun: expose the C23 functions we already support in List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 37fa5b36abb15b322493aba20146709d48359507 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=37fa5b36abb15b322493aba20146709d48359507 commit 37fa5b36abb15b322493aba20146709d48359507 Author: Robert Clausecker AuthorDate: 2025-11-17 17:09:11 +0000 Commit: Robert Clausecker CommitDate: 2025-11-17 17:18:46 +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 --- 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