1/* 2 * types.h 3 * 4 * Copyright (c) 2005-2019, Arm Limited. 5 * SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 6 */ 7 8#ifndef mathtest_types_h 9#define mathtest_types_h 10 11#include <limits.h> 12 13#if UINT_MAX == 4294967295 14typedef unsigned int uint32; 15typedef int int32; 16#define I32 "" 17#elif ULONG_MAX == 4294967295 18typedef unsigned long uint32; 19typedef 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