1 /* Copyright (C) 2007-2018 Free Software Foundation, Inc.
3 This file is part of GCC.
5 GCC is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3, or (at your option)
10 GCC is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
15 Under Section 7 of GPL version 3, you are granted additional
16 permissions described in the GCC Runtime Library Exception, version
17 3.1, as published by the Free Software Foundation.
19 You should have received a copy of the GNU General Public License and
20 a copy of the GCC Runtime Library Exception along with this program;
21 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
22 <http://www.gnu.org/licenses/>. */
24 /* ISO/IEC JTC1 SC22 WG14 N1169
27 * Programming languages - C - Extensions to support embedded processors
33 /* 7.18a.1 Introduction. */
42 /* 7.18a.3 Precision macros. */
48 #define SFRACT_FBIT __SFRACT_FBIT__
49 #define SFRACT_MIN __SFRACT_MIN__
50 #define SFRACT_MAX __SFRACT_MAX__
51 #define SFRACT_EPSILON __SFRACT_EPSILON__
56 #undef USFRACT_EPSILON
57 #define USFRACT_FBIT __USFRACT_FBIT__
58 #define USFRACT_MIN __USFRACT_MIN__ /* GCC extension. */
59 #define USFRACT_MAX __USFRACT_MAX__
60 #define USFRACT_EPSILON __USFRACT_EPSILON__
66 #define FRACT_FBIT __FRACT_FBIT__
67 #define FRACT_MIN __FRACT_MIN__
68 #define FRACT_MAX __FRACT_MAX__
69 #define FRACT_EPSILON __FRACT_EPSILON__
75 #define UFRACT_FBIT __UFRACT_FBIT__
76 #define UFRACT_MIN __UFRACT_MIN__ /* GCC extension. */
77 #define UFRACT_MAX __UFRACT_MAX__
78 #define UFRACT_EPSILON __UFRACT_EPSILON__
84 #define LFRACT_FBIT __LFRACT_FBIT__
85 #define LFRACT_MIN __LFRACT_MIN__
86 #define LFRACT_MAX __LFRACT_MAX__
87 #define LFRACT_EPSILON __LFRACT_EPSILON__
92 #undef ULFRACT_EPSILON
93 #define ULFRACT_FBIT __ULFRACT_FBIT__
94 #define ULFRACT_MIN __ULFRACT_MIN__ /* GCC extension. */
95 #define ULFRACT_MAX __ULFRACT_MAX__
96 #define ULFRACT_EPSILON __ULFRACT_EPSILON__
101 #undef LLFRACT_EPSILON
102 #define LLFRACT_FBIT __LLFRACT_FBIT__ /* GCC extension. */
103 #define LLFRACT_MIN __LLFRACT_MIN__ /* GCC extension. */
104 #define LLFRACT_MAX __LLFRACT_MAX__ /* GCC extension. */
105 #define LLFRACT_EPSILON __LLFRACT_EPSILON__ /* GCC extension. */
110 #undef ULLFRACT_EPSILON
111 #define ULLFRACT_FBIT __ULLFRACT_FBIT__ /* GCC extension. */
112 #define ULLFRACT_MIN __ULLFRACT_MIN__ /* GCC extension. */
113 #define ULLFRACT_MAX __ULLFRACT_MAX__ /* GCC extension. */
114 #define ULLFRACT_EPSILON __ULLFRACT_EPSILON__ /* GCC extension. */
120 #undef SACCUM_EPSILON
121 #define SACCUM_FBIT __SACCUM_FBIT__
122 #define SACCUM_IBIT __SACCUM_IBIT__
123 #define SACCUM_MIN __SACCUM_MIN__
124 #define SACCUM_MAX __SACCUM_MAX__
125 #define SACCUM_EPSILON __SACCUM_EPSILON__
131 #undef USACCUM_EPSILON
132 #define USACCUM_FBIT __USACCUM_FBIT__
133 #define USACCUM_IBIT __USACCUM_IBIT__
134 #define USACCUM_MIN __USACCUM_MIN__ /* GCC extension. */
135 #define USACCUM_MAX __USACCUM_MAX__
136 #define USACCUM_EPSILON __USACCUM_EPSILON__
143 #define ACCUM_FBIT __ACCUM_FBIT__
144 #define ACCUM_IBIT __ACCUM_IBIT__
145 #define ACCUM_MIN __ACCUM_MIN__
146 #define ACCUM_MAX __ACCUM_MAX__
147 #define ACCUM_EPSILON __ACCUM_EPSILON__
153 #undef UACCUM_EPSILON
154 #define UACCUM_FBIT __UACCUM_FBIT__
155 #define UACCUM_IBIT __UACCUM_IBIT__
156 #define UACCUM_MIN __UACCUM_MIN__ /* GCC extension. */
157 #define UACCUM_MAX __UACCUM_MAX__
158 #define UACCUM_EPSILON __UACCUM_EPSILON__
164 #undef LACCUM_EPSILON
165 #define LACCUM_FBIT __LACCUM_FBIT__
166 #define LACCUM_IBIT __LACCUM_IBIT__
167 #define LACCUM_MIN __LACCUM_MIN__
168 #define LACCUM_MAX __LACCUM_MAX__
169 #define LACCUM_EPSILON __LACCUM_EPSILON__
175 #undef ULACCUM_EPSILON
176 #define ULACCUM_FBIT __ULACCUM_FBIT__
177 #define ULACCUM_IBIT __ULACCUM_IBIT__
178 #define ULACCUM_MIN __ULACCUM_MIN__ /* GCC extension. */
179 #define ULACCUM_MAX __ULACCUM_MAX__
180 #define ULACCUM_EPSILON __ULACCUM_EPSILON__
186 #undef LLACCUM_EPSILON
187 #define LLACCUM_FBIT __LLACCUM_FBIT__ /* GCC extension. */
188 #define LLACCUM_IBIT __LLACCUM_IBIT__ /* GCC extension. */
189 #define LLACCUM_MIN __LLACCUM_MIN__ /* GCC extension. */
190 #define LLACCUM_MAX __LLACCUM_MAX__ /* GCC extension. */
191 #define LLACCUM_EPSILON __LLACCUM_EPSILON__ /* GCC extension. */
197 #undef ULLACCUM_EPSILON
198 #define ULLACCUM_FBIT __ULLACCUM_FBIT__ /* GCC extension. */
199 #define ULLACCUM_IBIT __ULLACCUM_IBIT__ /* GCC extension. */
200 #define ULLACCUM_MIN __ULLACCUM_MIN__ /* GCC extension. */
201 #define ULLACCUM_MAX __ULLACCUM_MAX__ /* GCC extension. */
202 #define ULLACCUM_EPSILON __ULLACCUM_EPSILON__ /* GCC extension. */
204 #endif /* _STDFIX_H */