/usr/include/libint2/intrinsic_types.h is in libint2-dev 2.1.0~beta2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | /*
* This file is a part of Libint.
* Copyright (C) 2004-2014 Edward F. Valeev
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Library General Public License, version 2,
* as published by the Free Software Foundation.
*
* This program 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.
*
* You should have received a copy of the GNU Library General Public License
* along with this program. If not, see http://www.gnu.org/licenses/.
*
*/
#ifndef _libint2_include_libint2intrinsictypes_h_
#define _libint2_include_libint2intrinsictypes_h_
#include <libint2/config.h>
#include <limits.h>
/* determine default LIBINT2 64-bit integer */
#ifdef HAVE_STDINT_H
#include <stdint.h>
/* because mpz_class does not mesh with long long types, only use those when absolutely necessary */
#if UINT_LEAST64_MAX != ULONG_MAX
typedef uint_least64_t LIBINT2_UINT_LEAST64;
#else
typedef unsigned long int LIBINT2_UINT_LEAST64;
#endif
#if INT_LEAST64_MAX != LONG_MAX
typedef int_least64_t LIBINT2_INT_LEAST64;
#else
typedef long int LIBINT2_INT_LEAST64;
#endif
#else
#if defined(ULONGLONG_MAX) && !defined(ULLONG_MAX)
# define ULLONG_MAX ULONGLONG_MAX
#endif
# ifdef ULLONG_MAX
# if ULONGLONG_MAX == (0xffffffffffffffffuLL) /* uLL reqd for xlC */
typedef long long LIBINT2_INT_LEAST64;
typedef unsigned long long LIBINT2_UINT_LEAST64;
# else
# error defaults not correct; you must hand modify libint2_intrinsic_types.h
# endif
# elif ULONG_MAX != 0xffffffff
# if ULONG_MAX == 18446744073709551615 /* 2**64 - 1 */
typedef long LIBINT2_INT_LEAST64;
typedef unsigned long LIBINT2_UINT_LEAST64;
# else
# error defaults not correct; you must hand modify scint.h
# endif
# else /* assume no 64-bit integers */
# error 64 bit integer types are required
# endif
#endif /* HAVE_STDINT_H */
#endif
|