]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
system_data_types.7: Add float_t
authorAlejandro Colomar <colomar.6.4.3@gmail.com>
Fri, 25 Sep 2020 11:19:23 +0000 (13:19 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 25 Sep 2020 11:48:49 +0000 (13:48 +0200)
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man7/system_data_types.7

index c621bfd2d9ea6f4a0400705d6766fc7fb1645b6b..92e5ab4f14810dcc8d37295921cad681e1a022a7 100644 (file)
@@ -147,6 +147,48 @@ Conforming to: C99 and later; POSIX.1-2001 and later.
 .IP
 See also:
 .BR fenv (3)
+.\"------------------------------------- float_t ----------------------/
+.TP
+.I float_t
+.IP
+Include:
+.IR <math.h> .
+.IP
+The implementation's most efficient floating type at least as wide as
+.IR float .
+Its type depends on the value of the macro
+.BR FLT_EVAL_METHOD ,
+defined in
+.IR <float.h> :
+.RS
+.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" .
+.IP
+For other values of
+.BR FLT_EVAL_METHOD ,
+the type of
+.I float_t
+is implementation-defined.
+.RE
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also the
+.I double_t
+type in this page.
 .\"------------------------------------- gid_t ------------------------/
 .TP
 .I gid_t