[06/10] system_data_types.7: Add double_t

Message ID 20200925073140.173394-7-colomar.6.4.3@gmail.com
State New
Headers show
Series
  • Add types, and some fixes
Related show

Commit Message

H.J. Lu via Libc-alpha Sept. 25, 2020, 7:31 a.m.
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>

---
 man7/system_data_types.7 | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

-- 
2.28.0

Comments

H.J. Lu via Libc-alpha Sept. 25, 2020, 12:01 p.m. | #1
On 9/25/20 9:31 AM, Alejandro Colomar wrote:
> Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com>



Applied. Thanks, Alex.

Cheers,

Michael

> ---

>  man7/system_data_types.7 | 36 ++++++++++++++++++++++++++++++++++++

>  1 file changed, 36 insertions(+)

> 

> diff --git a/man7/system_data_types.7 b/man7/system_data_types.7

> index 238b9593b..43e88942a 100644

> --- a/man7/system_data_types.7

> +++ b/man7/system_data_types.7

> @@ -117,6 +117,42 @@ Conforming to: C99 and later; POSIX.1-2001 and later.

>  .IP

>  See also:

>  .BR div (3)

> +.\"------------------------------------- double_t ---------------------/

> +.TP

> +.I double_t

> +.IP

> +Include:

> +.IR <math.h> .

> +.IP

> +The implementation's most efficient floating type at least as wide as

> +.IR double .

> +Its type depends on the value of the macro

> +.BR FLT_EVAL_METHOD :

> +.RS

> +.IP *

> +0;

> +.I double_t

> +is

> +.IR double .

> +.IP *

> +1;

> +.I double_t

> +is

> +.IR double .

> +.IP *

> +2;

> +.I double_t

> +is

> +.IR "long double" .

> +.IP *

> +Other implementation-defined values.

> +.RE

> +.IP

> +Conforming to: C99 and later; POSIX.1-2001 and later.

> +.IP

> +See also the

> +.I float_t

> +type in this page.

>  .\"------------------------------------- fenv_t -----------------------/

>  .TP

>  .I fenv_t

> 



-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/

Patch

diff --git a/man7/system_data_types.7 b/man7/system_data_types.7
index 238b9593b..43e88942a 100644
--- a/man7/system_data_types.7
+++ b/man7/system_data_types.7
@@ -117,6 +117,42 @@  Conforming to: C99 and later; POSIX.1-2001 and later.
 .IP
 See also:
 .BR div (3)
+.\"------------------------------------- double_t ---------------------/
+.TP
+.I double_t
+.IP
+Include:
+.IR <math.h> .
+.IP
+The implementation's most efficient floating type at least as wide as
+.IR double .
+Its type depends on the value of the macro
+.BR FLT_EVAL_METHOD :
+.RS
+.IP *
+0;
+.I double_t
+is
+.IR double .
+.IP *
+1;
+.I double_t
+is
+.IR double .
+.IP *
+2;
+.I double_t
+is
+.IR "long double" .
+.IP *
+Other implementation-defined values.
+.RE
+.IP
+Conforming to: C99 and later; POSIX.1-2001 and later.
+.IP
+See also the
+.I float_t
+type in this page.
 .\"------------------------------------- fenv_t -----------------------/
 .TP
 .I fenv_t