aboutsummaryrefslogtreecommitdiff
path: root/math/test/rtest/types.h
blob: 1a76c2e50f4d8611b8322a31c126ae64177fc54b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * types.h
 *
 * Copyright (c) 2005-2018, Arm Limited.
 * SPDX-License-Identifier: MIT
 */

#ifndef mathtest_types_h
#define mathtest_types_h

#include <limits.h>

#if UINT_MAX == 4294967295
typedef unsigned int uint32;
typedef int int32;
#define I32 ""
#elif ULONG_MAX == 4294967295
typedef unsigned long uint32;
typedef long int32;
#define I32 "l"
#else
#error Could not find an unsigned 32-bit integer type
#endif

#endif