[RFC 18/37] double_t.3, float_t.3, system_data_types.7: Move float_t to double_t.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Alejandro Colomar <alx.manpages@xxxxxxxxx>
---
 man3/double_t.3          | 47 +++++++++++++++++++++-------------------
 man3/float_t.3           |  2 +-
 man7/system_data_types.7 | 42 -----------------------------------
 3 files changed, 26 insertions(+), 65 deletions(-)

diff --git a/man3/double_t.3 b/man3/double_t.3
index 0043fb38b..669aa84b2 100644
--- a/man3/double_t.3
+++ b/man3/double_t.3
@@ -1,41 +1,44 @@
 .TH DOUBLE_T 3 2021-11-02 Linux "Linux Programmer's Manual"
 .SH NAME
-double_t \- most efficient floating types
+float_t, double_t \- most efficient floating types
 .SH SYNOPSIS
 .nf
 .B #include <math.h>
 .PP
+.BR typedef " /* ... */ " float_t;
 .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
+The implementation's most efficient floating types at least as wide as
+.I float
+and
+.I double
+respectively.
+Their 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
+.TS
+lB rI rI.
+FLT_EVAL_METHOD	float_t	double_t
+.T&
+n rI rI.
+_
+0	float	double
+1	double	double
+2	long double	long double
+.TE
 .PP
 For other values of
 .BR FLT_EVAL_METHOD ,
-the type of
+the types of
+.I float_t
+and
 .I double_t
-is implementation-defined.
+are implementation-defined.
 .SH CONFORMING TO
 C99 and later; POSIX.1-2001 and later.
 .SH SEE ALSO
-.BR float_t (3)
+.BR float.h (0p),
+.BR math.h (0p)
diff --git a/man3/float_t.3 b/man3/float_t.3
index db50c0f09..b1dd69fdd 100644
--- a/man3/float_t.3
+++ b/man3/float_t.3
@@ -1 +1 @@
-.so man7/system_data_types.7
+.so man3/double_t.3
diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index e847c2e64..d71a06344 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -140,48 +140,6 @@ C99 and later; POSIX.1-2001 and later.
 .BR stdio (3)
 .RE
 .\"------------------------------------- float_t ----------------------/
-.TP
-.I float_t
-.RS
-.IR Include :
-.IR <math.h> .
-.PP
-The implementation's most efficient floating type at least as wide as
-.IR float .
-Its type depends on the value of the macro
-.B FLT_EVAL_METHOD
-(defined in
-.IR <float.h> ):
-.TP
-0
-.I float_t
-is
-.IR float .
-.TP
-1
-.I float_t
-is
-.IR double .
-.TP
-2
-.I float_t
-is
-.IR "long double" .
-.PP
-For other values of
-.BR FLT_EVAL_METHOD ,
-the type of
-.I float_t
-is implementation-defined.
-.PP
-.IR "Conforming to" :
-C99 and later; POSIX.1-2001 and later.
-.PP
-.IR "See also" :
-the
-.I double_t
-type in this page.
-.RE
 .\"------------------------------------- gid_t ------------------------/
 .TP
 .I gid_t
-- 
2.33.1




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux