Thread (38 messages) 38 messages, 1 author, 2021-11-02

[RFC 17/37] double_t.3, system_data_types.7: Move text to a separate page

flat view

From: Alejandro Colomar <hidden>
Date: 2021-11-02 18:15:21
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Alejandro Colomar <redacted>
---
 man3/double_t.3          | 42 +++++++++++++++++++++++++++++++++++++++-
 man7/system_data_types.7 | 42 ----------------------------------------
 2 files changed, 41 insertions(+), 43 deletions(-)
diff --git a/man3/double_t.3 b/man3/double_t.3
index db50c0f09..0043fb38b 100644
--- a/man3/double_t.3
+++ b/man3/double_t.3
@@ -1 +1,41 @@
-.so man7/system_data_types.7
+.TH DOUBLE_T 3 2021-11-02 Linux "Linux Programmer's Manual"
+.SH NAME
+double_t \- most efficient floating types
+.SH SYNOPSIS
+.nf
+.B #include <math.h>
+.PP
+.BR typedef " /* ... */ " double_t;
+.fi
+.SH DESCRIPTION
+The implementation's most efficient floating type at least as wide as
+.IR double .
+Its type depends on the value of the macro
+.B FLT_EVAL_METHOD
+(defined in
+.IR <float.h> ):
+.TP
+0
+.I double_t
+is
+.IR double .
+.TP
+1
+.I double_t
+is
+.IR double .
+.TP
+2
+.I double_t
+is
+.IR "long double" .
+.PP
+For other values of
+.BR FLT_EVAL_METHOD ,
+the type of
+.I double_t
+is implementation-defined.
+.SH CONFORMING TO
+C99 and later; POSIX.1-2001 and later.
+.SH SEE ALSO
+.BR float_t (3)
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 764027bbd..e847c2e64 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -59,48 +59,6 @@ system_data_types \- overview of system data types
 .\"------------------------------------- dev_t ------------------------/
 .\"------------------------------------- div_t ------------------------/
 .\"------------------------------------- double_t ---------------------/
-.TP
-.I double_t
-.RS
-.IR Include :
-.IR <math.h> .
-.PP
-The implementation's most efficient floating type at least as wide as
-.IR double .
-Its type depends on the value of the macro
-.B FLT_EVAL_METHOD
-(defined in
-.IR <float.h> ):
-.TP
-0
-.I double_t
-is
-.IR double .
-.TP
-1
-.I double_t
-is
-.IR double .
-.TP
-2
-.I double_t
-is
-.IR "long double" .
-.PP
-For other values of
-.BR FLT_EVAL_METHOD ,
-the type of
-.I double_t
-is implementation-defined.
-.PP
-.IR "Conforming to" :
-C99 and later; POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-the
-.I float_t
-type in this page.
-.RE
 .\"------------------------------------- fd_set -----------------------/
 .TP
 .I fd_set
-- 
2.33.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help