File: double_t.3type

package info (click to toggle)
manpages 6.15-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 20,184 kB
  • sloc: sh: 575; python: 222; perl: 190; makefile: 29; lisp: 22
file content (54 lines) | stat: -rw-r--r-- 968 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
'\" t
.\" Copyright, the authors of the Linux man-pages project
.\"
.\" SPDX-License-Identifier: Linux-man-pages-copyleft
.\"
.TH double_t 3type 2025-05-17 "Linux man-pages (unreleased)"
.SH NAME
float_t, double_t \- most efficient floating types
.SH LIBRARY
Math library
.RI ( libm )
.SH SYNOPSIS
.nf
.B #include <math.h>
.P
.BR typedef " /* ... */ " float_t;
.BR typedef " /* ... */ " double_t;
.fi
.SH DESCRIPTION
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> ):
.P
.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
.P
For other values of
.BR FLT_EVAL_METHOD ,
the types of
.I float_t
and
.I double_t
are implementation-defined.
.SH STANDARDS
C11, POSIX.1-2008.
.SH HISTORY
C99, POSIX.1-2001.
.SH SEE ALSO
.BR float.h (0p),
.BR math.h (0p)