blob: 834439efba77da582bca1d070e29d0f46f5ff4e6 [file] [log] [blame]
Antonio Nino Diaz6ef16122018-08-15 19:51:09 +01001/*
Govindraj Rajaeee28e72023-08-01 15:52:40 -05002 * Copyright (c) 2018-2023, Arm Limited and Contributors. All rights reserved.
Antonio Nino Diaz6ef16122018-08-15 19:51:09 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#define SCHAR_MAX 0x7F
Yann Gautier93416b72023-01-06 14:18:25 +01008#define SCHAR_MIN (-SCHAR_MAX - 1)
Antonio Nino Diaz6ef16122018-08-15 19:51:09 +01009#define CHAR_MAX 0x7F
10#define CHAR_MIN (-CHAR_MAX - 1)
11#define UCHAR_MAX 0xFFU
12#define SHRT_MAX 0x7FFF
13#define SHRT_MIN (-SHRT_MAX - 1)
14#define USHRT_MAX 0xFFFFU
15#define INT_MAX 0x7FFFFFFF
16#define INT_MIN (-INT_MAX - 1)
17#define UINT_MAX 0xFFFFFFFFU
18#define LONG_MAX 0x7FFFFFFFFFFFFFFFL
19#define LONG_MIN (-LONG_MAX - 1L)
20#define ULONG_MAX 0xFFFFFFFFFFFFFFFFUL
21#define LLONG_MAX 0x7FFFFFFFFFFFFFFFLL
22#define LLONG_MIN (-LLONG_MAX - 1LL)
23#define ULLONG_MAX 0xFFFFFFFFFFFFFFFFULL
24
25#define __LONG_BIT 64
26#define __WORD_BIT 32