/usr/include/xc_config.h is in libxc-dev 3.0.0-1.
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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | /*
Copyright (C) 2006-2007 M.A.L. Marques
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef SINGLE_PRECISION
# define FLOAT float
# define POW powf
# define LOG logf
# define ABS fabsf
# define EXP expf
# define ERF erff
# define ERFC erfcf
# define SIN sinf
# define COS cosf
# define TAN tanf
# define ATAN atanf
# define ATAN2 atan2f
# define ASINH asinhf
#ifdef HAVE_SQRTF
# define SQRT sqrtf
#else
# define SQRT sqrt
#endif
#ifdef HAVE_CBRTF
#define CBRT cbrtf
#elif defined(HAVE_CBRT)
#define CBRT cbrt
#else
#define CBRT(x) powf((x), 1.0/3.0)
#endif
# define XC(x) xc_s_ ## x
# define XC_U(X) XC_S_ ## X
# define FLOAT_EPSILON FLT_EPSILON
# define FLOAT_MIN FLT_MIN
# define FLOAT_MAX FLT_MAX
#else
/* Double precision */
# define FLOAT double
# define POW pow
# define LOG log
# define ABS fabs
# define EXP exp
# define ERF erf
# define ERFC erfc
# define SIN sin
# define COS cos
# define TAN tan
# define ATAN atan
# define ATAN2 atan2
# define ASINH asinh
# define SQRT sqrt
#ifdef HAVE_CBRT
#define CBRT cbrt
#else
#define CBRT(x) pow((x), 1.0/3.0)
#endif
# define XC(x) xc_ ## x
# define XC_U(X) XC_ ## X
# define FLOAT_EPSILON DBL_EPSILON
# define FLOAT_MIN DBL_MIN
# define FLOAT_MAX DBL_MAX
#endif
#define XC_FC_FUNC2(a,b) FC_FUNC_(a,b)
#define XC_FC_FUNC(a,b) XC_FC_FUNC2(XC(a), XC_U(b))
|