/* Copyright (C) 1992-2013 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ /* This administrivia gets added to the beginning of limits.h if the system has its own version of limits.h. */ /* We use _GCC_LIMITS_H_ because we want this not to match any macros that the system's limits.h uses for its own purposes. */ #ifndef _GCC_LIMITS_H_ /* Terminated in limity.h. */ #define _GCC_LIMITS_H_ #ifndef _LIBC_LIMITS_H_ /* Use "..." so that we find syslimits.h only in this same directory. */ #include "syslimits.h" #endif /* Copyright (C) 1991-2013 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Under Section 7 of GPL version 3, you are granted additional permissions described in the GCC Runtime Library Exception, version 3.1, as published by the Free Software Foundation. You should have received a copy of the GNU General Public License and a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ #ifndef _LIMITS_H___ #define _LIMITS_H___ /* Number of bits in a `char'. */ #undef CHAR_BIT #define CHAR_BIT __CHAR_BIT__ /* Maximum length of a multibyte character. */ #ifndef MB_LEN_MAX #define MB_LEN_MAX 1 #endif /* Minimum and maximum values a `signed char' can hold. */ #undef SCHAR_MIN #define SCHAR_MIN (-SCHAR_MAX - 1) #undef SCHAR_MAX #define SCHAR_MAX __SCHAR_MAX__ /* Maximum value an `unsigned char' can hold. (Minimum is 0). */ #undef UCHAR_MAX #if __SCHAR_MAX__ == __INT_MAX__ # define UCHAR_MAX (SCHAR_MAX * 2U + 1U) #else # define UCHAR_MAX (SCHAR_MAX * 2 + 1) #endif /* Minimum and maximum values a `char' can hold. */ #ifdef __CHAR_UNSIGNED__ # undef CHAR_MIN # if __SCHAR_MAX__ == __INT_MAX__ # define CHAR_MIN 0U # else # define CHAR_MIN 0 # endif # undef CHAR_MAX # define CHAR_MAX UCHAR_MAX #else # undef CHAR_MIN # define CHAR_MIN SCHAR_MIN # undef CHAR_MAX # define CHAR_MAX SCHAR_MAX #endif /* Minimum and maximum values a `signed short int' can hold. */ #undef SHRT_MIN #define SHRT_MIN (-SHRT_MAX - 1) #undef SHRT_MAX #define SHRT_MAX __SHRT_MAX__ /* Maximum value an `unsigned short int' can hold. (Minimum is 0). */ #undef USHRT_MAX #if __SHRT_MAX__ == __INT_MAX__ # define USHRT_MAX (SHRT_MAX * 2U + 1U) #else # define USHRT_MAX (SHRT_MAX * 2 + 1) #endif /* Minimum and maximum values a `signed int' can hold. */ #undef INT_MIN #define INT_MIN (-INT_MAX - 1) #undef INT_MAX #define INT_MAX __INT_MAX__ /* Maximum value an `unsigned int' can hold. (Minimum is 0). */ #undef UINT_MAX #define UINT_MAX (INT_MAX * 2U + 1U) /* Minimum and maximum values a `signed long int' can hold. (Same as `int'). */ #undef LONG_MIN #define LONG_MIN (-LONG_MAX - 1L) #undef LONG_MAX #define LONG_MAX __LONG_MAX__ /* Maximum value an `unsigned long int' can hold. (Minimum is 0). */ #undef ULONG_MAX #define ULONG_MAX (LONG_MAX * 2UL + 1UL) #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* Minimum and maximum values a `signed long long int' can hold. */ # undef LLONG_MIN # define LLONG_MIN (-LLONG_MAX - 1LL) # undef LLONG_MAX # define LLONG_MAX __LONG_LONG_MAX__ /* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */ # undef ULLONG_MAX # define ULLONG_MAX (LLONG_MAX * 2ULL + 1ULL) #endif #if defined (__GNU_LIBRARY__) ? defined (__USE_GNU) : !defined (__STRICT_ANSI__) /* Minimum and maximum values a `signed long long int' can hold. */ # undef LONG_LONG_MIN # define LONG_LONG_MIN (-LONG_LONG_MAX - 1LL) # undef LONG_LONG_MAX # define LONG_LONG_MAX __LONG_LONG_MAX__ /* Maximum value an `unsigned long long int' can hold. (Minimum is 0). */ # undef ULONG_LONG_MAX # define ULONG_LONG_MAX (LONG_LONG_MAX * 2ULL + 1ULL) #endif #endif /* _LIMITS_H___ */ /* This administrivia gets added to the end of limits.h if the system has its own version of limits.h. */ #else /* not _GCC_LIMITS_H_ */ #ifdef _GCC_NEXT_LIMITS_H #include_next <limits.h> /* recurse down to the real one */ #endif #endif /* not _GCC_LIMITS_H_ */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
adxintrin.h | File | 1.76 KB | 0644 |
|
ammintrin.h | File | 3.01 KB | 0644 |
|
avx2intrin.h | File | 56.15 KB | 0644 |
|
avxintrin.h | File | 46.88 KB | 0644 |
|
bmi2intrin.h | File | 3.17 KB | 0644 |
|
bmiintrin.h | File | 5.32 KB | 0644 |
|
bmmintrin.h | File | 1.13 KB | 0644 |
|
cpuid.h | File | 8 KB | 0644 |
|
cross-stdarg.h | File | 2.5 KB | 0644 |
|
emmintrin.h | File | 49.56 KB | 0644 |
|
f16cintrin.h | File | 3.2 KB | 0644 |
|
float.h | File | 8.67 KB | 0644 |
|
fma4intrin.h | File | 8.78 KB | 0644 |
|
fmaintrin.h | File | 10.15 KB | 0644 |
|
fxsrintrin.h | File | 1.87 KB | 0644 |
|
ia32intrin.h | File | 6.2 KB | 0644 |
|
immintrin.h | File | 3.85 KB | 0644 |
|
iso646.h | File | 1.24 KB | 0644 |
|
limits.h | File | 5.26 KB | 0644 |
|
lwpintrin.h | File | 3.14 KB | 0644 |
|
lzcntintrin.h | File | 2.15 KB | 0644 |
|
mm3dnow.h | File | 6.32 KB | 0644 |
|
mm_malloc.h | File | 1.71 KB | 0644 |
|
mmintrin.h | File | 29.87 KB | 0644 |
|
nmmintrin.h | File | 1.35 KB | 0644 |
|
omp.h | File | 3.56 KB | 0644 |
|
pkuintrin.h | File | 1.49 KB | 0644 |
|
pmmintrin.h | File | 4.14 KB | 0644 |
|
popcntintrin.h | File | 1.57 KB | 0644 |
|
prfchwintrin.h | File | 1.54 KB | 0644 |
|
rdseedintrin.h | File | 1.82 KB | 0644 |
|
rtmintrin.h | File | 2.54 KB | 0644 |
|
smmintrin.h | File | 27.05 KB | 0644 |
|
stdalign.h | File | 1.18 KB | 0644 |
|
stdarg.h | File | 3.98 KB | 0644 |
|
stdbool.h | File | 1.4 KB | 0644 |
|
stddef.h | File | 13.3 KB | 0644 |
|
stdfix.h | File | 5.86 KB | 0644 |
|
stdint-gcc.h | File | 6.86 KB | 0644 |
|
stdint.h | File | 328 B | 0644 |
|
stdnoreturn.h | File | 1.11 KB | 0644 |
|
syslimits.h | File | 330 B | 0644 |
|
tbmintrin.h | File | 5.06 KB | 0644 |
|
tmmintrin.h | File | 8.02 KB | 0644 |
|
unwind.h | File | 10.48 KB | 0644 |
|
varargs.h | File | 139 B | 0644 |
|
wmmintrin.h | File | 4.26 KB | 0644 |
|
x86intrin.h | File | 2.32 KB | 0644 |
|
xmmintrin.h | File | 40.7 KB | 0644 |
|
xopintrin.h | File | 27.77 KB | 0644 |
|
xsaveintrin.h | File | 1.94 KB | 0644 |
|
xsaveoptintrin.h | File | 1.63 KB | 0644 |
|
xtestintrin.h | File | 1.52 KB | 0644 |
|