/usr/include/vxl/vcl/vcl_cmath.h is in libvxl1-dev 1.17.0.dfsg2-4.
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 | #ifndef vcl_cmath_h_
#define vcl_cmath_h_
//:
// \file
// \brief Templated version of the C math library.
// \date 23 Feb 2000
// [26.5.6] In addition to the signatures from the C header
// <math.h>, the C++ header <cmath> adds certain overloaded
// forms of the usual double-precision functions.
// The following signatures should be available for float,
// double and long double :
//
// \code
// T abs(T );
// T acos(T );
// T asin(T );
// T atan(T );
// T atan2(T, T );
// T ceil(T );
// T cos(T );
// T cosh(T );
// T exp(T );
// T fabs(T );
// T floor(T );
// T fmod(T, T);
// T frexp(T, int *);
// T ldexp(T, int);
// T log(T );
// T log10(T );
// T modf(T, T *);
// T pow(T, T );
// T pow(T, int );
// T sin(T );
// T sinh(T );
// T sqrt(T );
// T tan(T );
// T tanh(T );
// \endcode
#include "vcl_compiler.h"
#if defined(VCL_STLPORT)
# include "stlport/vcl_cmath.h"
#elif defined(VCL_GCC)
# include "gcc/vcl_cmath.h"
#elif defined(VCL_SGI_CC)
# include "sgi/vcl_cmath.h"
#elif defined(VCL_VC_60)
# include "win32-vc60/vcl_cmath.h"
// C++ .NET 2003 is iso compliant
#elif defined(VCL_VC_70) // C++ .NET earlier than 2003 is not iso compliant
# include "win32-vc70/vcl_cmath.h"
#elif defined(VCL_VC_8) || defined(VCL_VC_9) // C++ .NET earlier than 2003 is not iso compliant
# include "win32-vc8/vcl_cmath.h"
#elif defined(VCL_SUNPRO_CC)
# include "sunpro/vcl_cmath.h"
#elif defined(VCL_METRO_WERKS)
# include "mwerks/vcl_cmath.h"
#elif defined(VCL_BORLAND_55)
# include "borland55/vcl_cmath.h"
#else
# include "iso/vcl_cmath.h"
#endif
#if !VCL_COMPLEX_POW_WORKS && !defined VCL_CMATH_POW_DECLARED
// deal with corrections to pow(complex...)
# undef vcl_pow
# define vcl_pow vcl_pow
// VCL_CMATH_POW_DECLARED is true if vcl_pow has been declared
// to an inline functions rather than defined to std::pow
# define VCL_CMATH_POW_DECLARED 1
inline float vcl_pow(float x, float y) { return std::pow(x, y); }
inline double vcl_pow(double x, double y) { return std::pow(x, y); }
inline long double vcl_pow(long double x, long double y) { return std::pow(x, y); }
#endif
#endif // vcl_cmath_h_
|