Debian Codegraph @

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

raw
1 '\" t
2 .\" Copyright 2020, Michael Kerrisk <[email protected]>
3 .\" Copyright, the authors of the Linux man-pages project
4 .\"
5 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
6 .\"
7 .TH double_t 3type 2026-02-08 "Linux man-pages 6.18"
8 .SH NAME
9 float_t, double_t \- most efficient floating types
10 .SH LIBRARY
11 Math library
12 .RI ( libm )
13 .SH SYNOPSIS
14 .nf
15 .B #include <math.h>
16 .P
17 .BR typedef " /* ... */ " float_t;
18 .BR typedef " /* ... */ " double_t;
19 .fi
20 .SH DESCRIPTION
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
27 .B FLT_EVAL_METHOD
28 (defined in
29 .IR <float.h> ):
30 .P
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
41 .P
42 For other values of
43 .BR FLT_EVAL_METHOD ,
44 the types of
45 .I float_t
46 and
47 .I double_t
48 are implementation-defined.
49 .SH STANDARDS
50 C11, POSIX.1-2024.
51 .SH HISTORY
52 C99, POSIX.1-2001.
53 .SH SEE ALSO
54 .BR float.h (0p),
55 .BR math.h (0p)