File tree Expand file tree Collapse file tree 1 file changed +1
-24
lines changed
libc/include/llvm-libc-macros Expand file tree Collapse file tree 1 file changed +1
-24
lines changed Original file line number Diff line number Diff line change 20
20
21
21
#define fract _Fract
22
22
#define accum _Accum
23
+ #define sat _Sat
23
24
24
25
// Default values: from N1169 standard - Annex A.3 - Typical desktop processor.
25
26
53
54
#define USFRACT_FBIT 8
54
55
#endif // USFRACT_FBIT
55
56
56
- #ifdef __USFRACT_MIN__
57
- #define USFRACT_MIN __USFRACT_MIN__
58
- #else
59
57
#define USFRACT_MIN 0.0UHR
60
- #endif // USFRACT_MIN
61
58
62
59
#ifdef __USFRACT_MAX__
63
60
#define USFRACT_MAX __USFRACT_MAX__
101
98
#define UFRACT_FBIT 16
102
99
#endif // UFRACT_FBIT
103
100
104
- #ifdef __UFRACT_MIN__
105
- #define UFRACT_MIN __UFRACT_MIN__
106
- #else
107
101
#define UFRACT_MIN 0.0UR
108
- #endif // UFRACT_MIN
109
102
110
103
#ifdef __UFRACT_MAX__
111
104
#define UFRACT_MAX __UFRACT_MAX__
149
142
#define ULFRACT_FBIT 32
150
143
#endif // ULFRACT_FBIT
151
144
152
- #ifdef __ULFRACT_MIN__
153
- #define ULFRACT_MIN __ULFRACT_MIN__
154
- #else
155
145
#define ULFRACT_MIN 0.0ULR
156
- #endif // ULFRACT_MIN
157
146
158
147
#ifdef __ULFRACT_MAX__
159
148
#define ULFRACT_MAX __ULFRACT_MAX__
209
198
#define USACCUM_IBIT 8
210
199
#endif // USACCUM_IBIT
211
200
212
- #ifdef __USACCUM_MIN__
213
- #define USACCUM_MIN __USACCUM_MIN__
214
- #else
215
201
#define USACCUM_MIN 0.0UHK
216
- #endif // USACCUM_MIN
217
202
218
203
#ifdef __USACCUM_MAX__
219
204
#define USACCUM_MAX __USACCUM_MAX__
269
254
#define UACCUM_IBIT 16
270
255
#endif // UACCUM_IBIT
271
256
272
- #ifdef __UACCUM_MIN__
273
- #define UACCUM_MIN __UACCUM_MIN__
274
- #else
275
257
#define UACCUM_MIN 0.0UK
276
- #endif // UACCUM_MIN
277
258
278
259
#ifdef __UACCUM_MAX__
279
260
#define UACCUM_MAX __UACCUM_MAX__
329
310
#define ULACCUM_IBIT 32
330
311
#endif // ULACCUM_IBIT
331
312
332
- #ifdef __ULACCUM_MIN__
333
- #define ULACCUM_MIN __ULACCUM_MIN__
334
- #else
335
313
#define ULACCUM_MIN 0.0ULK
336
- #endif // ULACCUM_MIN
337
314
338
315
#ifdef __ULACCUM_MAX__
339
316
#define ULACCUM_MAX __ULACCUM_MAX__
You can’t perform that action at this time.
0 commit comments