PatchworkOS
966e257
A non-POSIX operating system.
Theme:
Default
Round
Robot
Loading...
Searching...
No Matches
float.h
Go to the documentation of this file.
1
#ifndef _FLOAT_H
2
#define _FLOAT_H 1
3
4
#include "
_internal/config.h
"
5
6
#define FLT_ROUNDS -1
7
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
8
#define DECIMAL_DIG __DECIMAL_DIG__
9
10
/* Radix of exponent representation */
11
#define FLT_RADIX __FLT_RADIX__
12
/* Number of base-FLT_RADIX digits in the significand of a float */
13
#define FLT_MANT_DIG __FLT_MANT_DIG__
14
/* Number of decimal digits of precision in a float */
15
#define FLT_DIG __FLT_DIG__
16
/* Difference between 1.0 and the minimum float greater than 1.0 */
17
#define FLT_EPSILON __FLT_EPSILON__
18
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised float */
19
#define FLT_MIN_EXP __FLT_MIN_EXP__
20
/* Minimum normalised float */
21
#define FLT_MIN __FLT_MIN__
22
/* Minimum int x such that 10**x is a normalised float */
23
#define FLT_MIN_10_EXP __FLT_MIN_10_EXP__
24
/* Maximum int x such that FLT_RADIX**(x-1) is a representable float */
25
#define FLT_MAX_EXP __FLT_MAX_EXP__
26
/* Maximum float */
27
#define FLT_MAX __FLT_MAX__
28
/* Maximum int x such that 10**x is a representable float */
29
#define FLT_MAX_10_EXP __FLT_MAX_10_EXP__
30
31
/* Number of base-FLT_RADIX digits in the significand of a double */
32
#define DBL_MANT_DIG __DBL_MANT_DIG__
33
/* Number of decimal digits of precision in a double */
34
#define DBL_DIG __DBL_DIG__
35
/* Difference between 1.0 and the minimum double greater than 1.0 */
36
#define DBL_EPSILON __DBL_EPSILON__
37
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised double */
38
#define DBL_MIN_EXP __DBL_MIN_EXP__
39
/* Minimum normalised double */
40
#define DBL_MIN __DBL_MIN__
41
/* Minimum int x such that 10**x is a normalised double */
42
#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
43
/* Maximum int x such that FLT_RADIX**(x-1) is a representable double */
44
#define DBL_MAX_EXP __DBL_MAX_EXP__
45
/* Maximum double */
46
#define DBL_MAX __DBL_MAX__
47
/* Maximum int x such that 10**x is a representable double */
48
#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
49
50
/* Number of base-FLT_RADIX digits in the significand of a long double */
51
#define LDBL_MANT_DIG __LDBL_MANT_DIG__
52
/* Number of decimal digits of precision in a long double */
53
#define LDBL_DIG __LDBL_DIG__
54
/* Difference between 1.0 and the minimum long double greater than 1.0 */
55
#define LDBL_EPSILON __LDBL_EPSILON__
56
/* Minimum int x such that FLT_RADIX**(x-1) is a normalised long double */
57
#define LDBL_MIN_EXP __LDBL_MIN_EXP__
58
/* Minimum normalised long double */
59
#define LDBL_MIN __LDBL_MIN__
60
/* Minimum int x such that 10**x is a normalised long double */
61
#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__
62
/* Maximum int x such that FLT_RADIX**(x-1) is a representable long double */
63
#define LDBL_MAX_EXP __LDBL_MAX_EXP__
64
/* Maximum long double */
65
#define LDBL_MAX __LDBL_MAX__
66
/* Maximum int x such that 10**x is a representable long double */
67
#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
68
69
#endif
config.h
include
libstd
float.h
Generated on Mon Dec 15 2025 21:55:53 for PatchworkOS by
1.9.8