File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
libc/src/__support/FPUtil Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -218,24 +218,6 @@ template <> struct FloatProperties<float128> {
218
218
};
219
219
#endif // LIBC_COMPILER_HAS_FLOAT128
220
220
221
- // Define the float type corresponding to the BitsType.
222
- template <typename BitsType> struct FloatType ;
223
-
224
- template <> struct FloatType <uint32_t > {
225
- static_assert (sizeof (uint32_t ) == sizeof (float ),
226
- " Unexpected size of 'float' type." );
227
- typedef float Type;
228
- };
229
-
230
- template <> struct FloatType <uint64_t > {
231
- static_assert (sizeof (uint64_t ) == sizeof (double ),
232
- " Unexpected size of 'double' type." );
233
- typedef double Type;
234
- };
235
-
236
- template <typename BitsType>
237
- using FloatTypeT = typename FloatType<BitsType>::Type;
238
-
239
221
} // namespace fputil
240
222
} // namespace LIBC_NAMESPACE
241
223
You can’t perform that action at this time.
0 commit comments