|
Software APIs
|
Go to the documentation of this file.
5 #ifndef OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_FLOAT_H_
6 #define OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_FLOAT_H_
19 #define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
20 #define FLT_ROUNDS (-1)
21 #define FLT_RADIX __FLT_RADIX__
23 #define FLT_MANT_DIG __FLT_MANT_DIG__
24 #define DBL_MANT_DIG __DBL_MANT_DIG__
25 #define LDBL_MANT_DIG __LDBL_MANT_DIG__
27 #define DECIMAL_DIG __DECIMAL_DIG__
29 #define FLT_DIG __FLT_DIG__
30 #define DBL_DIG __DBL_DIG__
31 #define LDBL_DIG __LDBL_DIG__
33 #define FLT_MIN_EXP __FLT_MIN_EXP__
34 #define DBL_MIN_EXP __DBL_MIN_EXP__
35 #define LDBL_MIN_EXP __LDBL_MIN_EXP__
37 #define FLT_MIN_10_EXP __FLT_MIN_10_EXP__
38 #define DBL_MIN_10_EXP __DBL_MIN_10_EXP__
39 #define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__
41 #define FLT_MAX_EXP __FLT_MAX_EXP__
42 #define DBL_MAX_EXP __DBL_MAX_EXP__
43 #define LDBL_MAX_EXP __LDBL_MAX_EXP__
45 #define FLT_MAX_10_EXP __FLT_MAX_10_EXP__
46 #define DBL_MAX_10_EXP __DBL_MAX_10_EXP__
47 #define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__
49 #define FLT_MAX __FLT_MAX__
50 #define DBL_MAX __DBL_MAX__
51 #define LDBL_MAX __LDBL_MAX__
53 #define FLT_EPSILON __FLT_EPSILON__
54 #define DBL_EPSILON __DBL_EPSILON__
55 #define LDBL_EPSILON __LDBL_EPSILON__
57 #define FLT_MIN __FLT_MIN__
58 #define DBL_MIN __DBL_MIN__
59 #define LDBL_MIN __LDBL_MIN__
61 #define FLT_TRUE_MIN __FLT_DENORM_MIN__
62 #define DBL_TRUE_MIN __DBL_DENORM_MIN__
63 #define LDBL_TRUE_MIN __LDBL_DENORM_MIN__
65 #define FLT_DECIMAL_DIG __FLT_DECIMAL_DIG__
66 #define DBL_DECIMAL_DIG __DBL_DECIMAL_DIG__
67 #define LDBL_DECIMAL_DIG __LDBL_DECIMAL_DIG__
69 #define FLT_HAS_SUBNORM __FLT_HAS_DENORM__
70 #define DBL_HAS_SUBNORM __DBL_HAS_DENORM__
71 #define LDBL_HAS_SUBNORM __LDBL_HAS_DENORM__
73 #endif // OPENTITAN_SW_DEVICE_LIB_BASE_FREESTANDING_FLOAT_H_