/usr/include/openturns/common.h is in libopenturns-dev 1.2-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 | /**********************************************************************
* Author: Leo Liberti *
* Name: common.h *
* Source: GNU C++ *
* Purpose: common stuff *
* History: 050909 0.0 work started *
* License: (C) Leo Liberti, all rights reserved. Code published under the
Common Public License.
***********************************************************************/
#ifndef __EV3COMMONH__
#define __EV3COMMONH__
#define RCS12 "$Id: common.h,v 1.2 2006/07/30 05:36:44 liberti Exp liberti $"
#define NOVARIABLE -1
#define LARGE 1E10
#include <cassert>
#ifdef WIN32
/* windows.h define a huge numbre of macro... */
#undef DIFFERENCE
#undef CONST
#undef ERROR
#undef interface
#undef NONE
#endif
namespace Ev3 {
typedef int Int;
// various operator types
enum OperatorType {
SUM, DIFFERENCE, PRODUCT, FRACTION, POWER,
PLUS, MINUS, SIN, COS, TAN, ASIN, ACOS,
ATAN, SINH, COSH, TANH, ASINH, ACOSH,
ATANH, LOG2, LOG10, LOG, LN, LNGAMMA,
GAMMA, EXP, ERF, ERFC, SQRT, CBRT,
BESSELJ0, BESSELJ1, BESSELY0, BESSELY1,
SIGN, RINT, ABS, COT, COTH,
VAR, CONST,
ERROR
};
// utility functions
extern double Ev3NearZero(void);
extern double Ev3Infinity(void);
} /* namespace Ev3 */
#endif /* __EV3COMMONH__ */
|