1double_t(3type) double_t(3type)
2
3
4
6 float_t, double_t - most efficient floating types
7
9 Math library (libm)
10
12 #include <math.h>
13
14 typedef /* ... */ float_t;
15 typedef /* ... */ double_t;
16
18 The implementation's most efficient floating types at least as wide as
19 float and double respectively. Their type depends on the value of the
20 macro FLT_EVAL_METHOD (defined in <float.h>):
21
22 FLT_EVAL_METHOD float_t double_t
23 ────────────────────────────────────────────
24 0 float double
25 1 double double
26 2 long double long double
27
28 For other values of FLT_EVAL_METHOD, the types of float_t and double_t
29 are implementation-defined.
30
32 C11, POSIX.1-2008.
33
35 C99, POSIX.1-2001.
36
38 float.h(0p), math.h(0p)
39
40
41
42Linux man-pages 6.04 2023-03-30 double_t(3type)