]>
Commit | Line | Data |
---|---|---|
b4ba165d AC |
1 | .\" Copyright (c) 2020-2022 by Alejandro Colomar <colomar.6.4.3@gmail.com> |
2 | .\" and Copyright (c) 2020 by Michael Kerrisk <mtk.manpages@gmail.com> | |
3 | .\" | |
5fbde956 | 4 | .\" SPDX-License-Identifier: Linux-man-pages-copyleft |
b4ba165d AC |
5 | .\" |
6 | .\" | |
45186a5d | 7 | .TH DOUBLE_T 3type 2021-11-02 "Linux man-pages (unreleased)" |
1420ba71 | 8 | .SH NAME |
98b06647 | 9 | float_t, double_t \- most efficient floating types |
81058ff0 AC |
10 | .SH LIBRARY |
11 | Math library | |
12 | .RI ( libm ) | |
1420ba71 AC |
13 | .SH SYNOPSIS |
14 | .nf | |
15 | .B #include <math.h> | |
16 | .PP | |
98b06647 | 17 | .BR typedef " /* ... */ " float_t; |
1420ba71 AC |
18 | .BR typedef " /* ... */ " double_t; |
19 | .fi | |
20 | .SH DESCRIPTION | |
98b06647 AC |
21 | The implementation's most efficient floating types at least as wide as |
22 | .I float | |
23 | and | |
24 | .I double | |
25 | respectively. | |
26 | Their type depends on the value of the macro | |
1420ba71 AC |
27 | .B FLT_EVAL_METHOD |
28 | (defined in | |
29 | .IR <float.h> ): | |
98b06647 AC |
30 | .PP |
31 | .TS | |
32 | lB rI rI. | |
33 | FLT_EVAL_METHOD float_t double_t | |
34 | .T& | |
35 | n rI rI. | |
36 | _ | |
37 | 0 float double | |
38 | 1 double double | |
39 | 2 long double long double | |
40 | .TE | |
1420ba71 AC |
41 | .PP |
42 | For other values of | |
43 | .BR FLT_EVAL_METHOD , | |
98b06647 AC |
44 | the types of |
45 | .I float_t | |
46 | and | |
1420ba71 | 47 | .I double_t |
98b06647 | 48 | are implementation-defined. |
3113c7f3 | 49 | .SH STANDARDS |
1420ba71 AC |
50 | C99 and later; POSIX.1-2001 and later. |
51 | .SH SEE ALSO | |
98b06647 AC |
52 | .BR float.h (0p), |
53 | .BR math.h (0p) |