git: 4fcc58afbff9 - main - msun: document that {sin,cos,tan}pi(3) follow C23
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Nov 2025 17:19:08 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/src/commit/?id=4fcc58afbff924293c721f4c4056bb7f94580f22
commit 4fcc58afbff924293c721f4c4056bb7f94580f22
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-11-17 17:10:56 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-11-17 17:18:46 +0000
msun: document that {sin,cos,tan}pi(3) follow C23
- also use new .St -ieee754-2008 request in *pi.3
Reviewed by: imp
Approved by markj (mentor)
See also: D53784
Differential Revision: https://reviews.freebsd.org/D53783
---
lib/msun/man/cospi.3 | 13 +++++--------
lib/msun/man/sinpi.3 | 12 +++++-------
lib/msun/man/tanpi.3 | 13 +++++--------
3 files changed, 15 insertions(+), 23 deletions(-)
diff --git a/lib/msun/man/cospi.3 b/lib/msun/man/cospi.3
index 86e63fb77498..92b449832112 100644
--- a/lib/msun/man/cospi.3
+++ b/lib/msun/man/cospi.3
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 1, 2017
+.Dd November 16, 2025
.Dt COSPI 3
.Os
.Sh NAME
@@ -92,12 +92,9 @@ The half\(encycle trignometric functions were written by
.An Steven G. Kargl Aq Mt kargl@FreeBSD.org .
.Sh STANDARDS
These functions conform to
-IEEE Std 754\(tm\(en2008 ,
-\(dqIEEE Standard for Floating-Point Arithmetic\(dq
-and to
-ISO/IEC TS 18661-4 ,
+.St -ieee754-2008 ,
+to ISO/IEC TS 18661-4,
\(dqInformation technology \(em Programming languages, their environments,
and system software interfaces \(em Floating\(enpoint extensions for
-C\(dq \(em Part 4: Supplementary functions.
-
-
+C\(dq \(em Part 4: Supplementary functions, and to
+.St -isoC-2023 .
diff --git a/lib/msun/man/sinpi.3 b/lib/msun/man/sinpi.3
index 63a1e3010de5..9d64e9d343a7 100644
--- a/lib/msun/man/sinpi.3
+++ b/lib/msun/man/sinpi.3
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 1, 2017
+.Dd November 16, 2025
.Dt SINPI 3
.Os
.Sh NAME
@@ -86,11 +86,9 @@ The half\(encycle trignometric functions were written by
.An Steven G. Kargl Aq Mt kargl@FreeBSD.org .
.Sh STANDARDS
These functions conform to
-IEEE Std 754\(tm\(en2008 ,
-\(dqIEEE Standard for Floating-Point Arithmetic\(dq
-and to
-ISO/IEC TS 18661-4 ,
+.St -ieee754-2008 ,
+to ISO/IEC TS 18661-4,
\(dqInformation technology \(em Programming languages, their environments,
and system software interfaces \(em Floating\(enpoint extensions for
-C\(dq \(em Part 4: Supplementary functions.
-
+C\(dq \(em Part 4: Supplementary functions, and to
+.St -isoC-2023 .
diff --git a/lib/msun/man/tanpi.3 b/lib/msun/man/tanpi.3
index b11d54031b71..183240418e76 100644
--- a/lib/msun/man/tanpi.3
+++ b/lib/msun/man/tanpi.3
@@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd April 1, 2017
+.Dd November 16, 2025
.Dt TANPI 3
.Os
.Sh NAME
@@ -88,12 +88,9 @@ The half\(encycle trignometric functions were written by
.An Steven G. Kargl Aq Mt kargl@FreeBSD.org .
.Sh STANDARDS
These functions conform to
-IEEE Std 754\(tm\(en2008 ,
-\(dqIEEE Standard for Floating-Point Arithmetic\(dq
-and to
-ISO/IEC TS 18661-4 ,
+.St -ieee754-2008 ,
+to ISO/IEC TS 18661-4,
\(dqInformation technology \(em Programming languages, their environments,
and system software interfaces \(em Floating\(enpoint extensions for
-C\(dq \(em Part 4: Supplementary functions.
-
-
+C\(dq \(em Part 4: Supplementary functions, and to
+.St -isoC-2023 .