Debian Codegraph @

upstream/debian-trixie/man3/double_t.3type

raw
1 '\" t
2 .\" Copyright (c) 2020-2022 by Alejandro Colomar <[email protected]>
3 .\" and Copyright (c) 2020 by Michael Kerrisk <[email protected]>
4 .\"
5 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\"
7 .\"
8 .TH double_t 3type 2024-05-02 "Linux man-pages 6.9.1"
9 .SH NAME
10 float_t, double_t \- most efficient floating types
11 .SH LIBRARY
12 Math library
13 .RI ( libm )
14 .SH SYNOPSIS
15 .nf
16 .B #include <math.h>
17 .P
18 .BR typedef " /* ... */ " float_t;
19 .BR typedef " /* ... */ " double_t;
20 .fi
21 .SH DESCRIPTION
22 The implementation's most efficient floating types at least as wide as
23 .I float
24 and
25 .I double
26 respectively.
27 Their type depends on the value of the macro
28 .B FLT_EVAL_METHOD
29 (defined in
30 .IR <float.h> ):
31 .P
32 .TS
33 lB rI rI.
34 FLT_EVAL_METHOD float_t double_t
35 .T&
36 n rI rI.
37 _
38 0 float double
39 1 double double
40 2 long double long double
41 .TE
42 .P
43 For other values of
44 .BR FLT_EVAL_METHOD ,
45 the types of
46 .I float_t
47 and
48 .I double_t
49 are implementation-defined.
50 .SH STANDARDS
51 C11, POSIX.1-2008.
52 .SH HISTORY
53 C99, POSIX.1-2001.
54 .SH SEE ALSO
55 .BR float.h (0p),
56 .BR math.h (0p)