1 /* 2 * types.h 3 * 4 * Copyright (c) 2005-2019, Arm Limited. 5 * SPDX-License-Identifier: MIT 6 */ 7 8 #ifndef mathtest_types_h 9 #define mathtest_types_h 10 11 #include <limits.h> 12 13 #if UINT_MAX == 4294967295 14 typedef unsigned int uint32; 15 typedef int int32; 16 #define I32 "" 17 #elif ULONG_MAX == 4294967295 18 typedef unsigned long uint32; 19 typedef long int32; 20 #define I32 "l" 21 #else 22 #error Could not find an unsigned 32-bit integer type 23 #endif 24 25 #endif 26