File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
libc/src/__support/fixed_point Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,24 @@ template <> struct FXRep<unsigned long accum> {
150
150
LIBC_INLINE static constexpr Type EPS () { return ULACCUM_EPSILON; }
151
151
};
152
152
153
+ template <> struct FXRep <short sat fract> : FXRep<short fract> {};
154
+ template <> struct FXRep <sat fract> : FXRep<fract> {};
155
+ template <> struct FXRep <long sat fract> : FXRep<long fract> {};
156
+ template <>
157
+ struct FXRep <unsigned short sat fract> : FXRep<unsigned short fract> {};
158
+ template <> struct FXRep <unsigned sat fract> : FXRep<unsigned fract> {};
159
+ template <>
160
+ struct FXRep <unsigned long sat fract> : FXRep<unsigned long fract> {};
161
+
162
+ template <> struct FXRep <short sat accum> : FXRep<short accum> {};
163
+ template <> struct FXRep <sat accum> : FXRep<accum> {};
164
+ template <> struct FXRep <long sat accum> : FXRep<long accum> {};
165
+ template <>
166
+ struct FXRep <unsigned short sat accum> : FXRep<unsigned short accum> {};
167
+ template <> struct FXRep <unsigned sat accum> : FXRep<unsigned accum> {};
168
+ template <>
169
+ struct FXRep <unsigned long sat accum> : FXRep<unsigned long accum> {};
170
+
153
171
} // namespace LIBC_NAMESPACE::fixed_point
154
172
155
173
#endif // LIBC_COMPILER_HAS_FIXED_POINT
You can’t perform that action at this time.
0 commit comments