git: 14b855d29603 - main - mandoc: Drop -ieee754-2008 abbreviation

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Tue, 22 Sep 2026 05:06:58 UTC
The branch main has been updated by ziaee:

URL: https://cgit.FreeBSD.org/src/commit/?id=14b855d29603d9cdf76cdd2ddc8803633b856725

commit 14b855d29603d9cdf76cdd2ddc8803633b856725
Author:     Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-09-22 05:00:01 +0000
Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-09-22 05:00:06 +0000

    mandoc: Drop -ieee754-2008 abbreviation
    
    Improve manpage compatability by dropping an abbreviation macro that
    compiler upstreams do not want, causing manuals using it to render
    incorrectly on other toolchains or operating systems. It was only used
    in three manuals, which are amended in this commit.
    
    Reviewed by:    fuz, markj
    MFC after:      no, these did not MFC
    Requested by:   Ingo Schwarze <schwarze@openbsd.org>
    Fixes:          db3884b03989 ("contrib/mandoc: add -ieee754-2008")
    Fixes:          63cd0841de76 ("document .St -ieee754-2008 in mdoc")
    Differential Revision:  https://reviews.freebsd.org/D59880
---
 contrib/mandoc/mdoc.7 | 5 -----
 contrib/mandoc/st.c   | 1 -
 lib/msun/man/cospi.3  | 2 +-
 lib/msun/man/sinpi.3  | 2 +-
 lib/msun/man/tanpi.3  | 2 +-
 5 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/contrib/mandoc/mdoc.7 b/contrib/mandoc/mdoc.7
index 8510764a21fc..666072dd57af 100644
--- a/contrib/mandoc/mdoc.7
+++ b/contrib/mandoc/mdoc.7
@@ -2642,11 +2642,6 @@ Open Group Standard Base Specifications, Issue 8.
 .br
 Floating-point arithmetic.
 .Pp
-.It \-ieee754-2008
-.St -ieee754-2008
-.br
-Floating-point arithmetic, 2008 revision.
-.Pp
 .It \-iso8601
 .St -iso8601
 .br
diff --git a/contrib/mandoc/st.c b/contrib/mandoc/st.c
index d740ee619f17..276981584e41 100644
--- a/contrib/mandoc/st.c
+++ b/contrib/mandoc/st.c
@@ -65,7 +65,6 @@ LINE("-iso9945-2-93",	"ISO/IEC 9945-2:1993 (\\(lqPOSIX.2\\(rq)")
 LINE("-ansiC",		"ANSI X3.159-1989 (\\(lqANSI\\~C89\\(rq)")
 LINE("-ansiC-89",	"ANSI X3.159-1989 (\\(lqANSI\\~C89\\(rq)")
 LINE("-ieee754",	"IEEE Std 754-1985")
-LINE("-ieee754-2008",	"IEEE Std 754-2008")
 LINE("-iso8802-3",	"ISO 8802-3: 1989")
 LINE("-iso8601",	"ISO 8601")
 LINE("-ieee1275-94",	"IEEE Std 1275-1994 (\\(lqOpen Firmware\\(rq)")
diff --git a/lib/msun/man/cospi.3 b/lib/msun/man/cospi.3
index 92b449832112..db1a97d84c44 100644
--- a/lib/msun/man/cospi.3
+++ b/lib/msun/man/cospi.3
@@ -92,7 +92,7 @@ The half\(encycle trignometric functions were written by
 .An Steven G. Kargl Aq Mt kargl@FreeBSD.org .
 .Sh STANDARDS
 These functions conform to
-.St -ieee754-2008 ,
+IEEE Std 754-2008,
 to ISO/IEC TS 18661-4,
 \(dqInformation technology \(em Programming languages, their environments,
 and system software interfaces \(em Floating\(enpoint extensions for
diff --git a/lib/msun/man/sinpi.3 b/lib/msun/man/sinpi.3
index 9d64e9d343a7..57fd6233f03f 100644
--- a/lib/msun/man/sinpi.3
+++ b/lib/msun/man/sinpi.3
@@ -86,7 +86,7 @@ The half\(encycle trignometric functions were written by
 .An Steven G. Kargl Aq Mt kargl@FreeBSD.org .
 .Sh STANDARDS
 These functions conform to
-.St -ieee754-2008 ,
+IEEE Std 754-2008,
 to ISO/IEC TS 18661-4,
 \(dqInformation technology \(em Programming languages, their environments,
 and system software interfaces \(em Floating\(enpoint extensions for
diff --git a/lib/msun/man/tanpi.3 b/lib/msun/man/tanpi.3
index 183240418e76..2e3985cb0dbe 100644
--- a/lib/msun/man/tanpi.3
+++ b/lib/msun/man/tanpi.3
@@ -88,7 +88,7 @@ The half\(encycle trignometric functions were written by
 .An Steven G. Kargl Aq Mt kargl@FreeBSD.org .
 .Sh STANDARDS
 These functions conform to
-.St -ieee754-2008 ,
+IEEE Std 754-2008,
 to ISO/IEC TS 18661-4,
 \(dqInformation technology \(em Programming languages, their environments,
 and system software interfaces \(em Floating\(enpoint extensions for