/usr/include/gctp/cproj.h is in libgctp-dev 1.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 | #include <math.h>
#ifdef __cplusplus
extern "C" {
#endif
#define PI 3.141592653589793238
#define HALF_PI (PI*0.5)
#define TWO_PI (PI*2.0)
#define EPSLN 1.0e-10
#define R2D 57.2957795131
/*
#define D2R 0.0174532925199
*/
#define D2R 1.745329251994328e-2
#define S2R 4.848136811095359e-6
#define OK 0
#define ERROR -1
#define IN_BREAK -2
/* Misc macros
-----------*/
#define SQUARE(x) ((x) * (x)) /* x**2 */
#define CUBE(x) ((x) * (x) * (x)) /* x**3 */
#define QUAD(x) ((x) * (x) * (x) * (x)) /* x**4 */
#define GMAX(A, B) ((A) > (B) ? (A) : (B)) /* assign maximum of a and b */
#define GMIN(A, B) ((A) < (B) ? (A) : (B)) /* assign minimum of a and b */
#define IMOD(A, B) (A) - (((A) / (B)) * (B)) /* Integer mod function */
#include "cproj_prototypes.h"
#ifdef __cplusplus
}
#endif
|