File:  [Research Unix] / researchv8dc / cmd / map / map.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:59 2018 UTC (8 years, 3 months ago) by root
Branches: belllabs, MAIN
CVS tags: researchv8, HEAD
researchv8 Dan Cross

#include <math.h>

#define PI 3.14159265358979323844
#define TWOPI (2*PI)
#define RAD (PI/180)

#define ECC .08227185422	/* eccentricity of earth */
#define EC2 .006768657997

#define FUZZ .0001

struct coord {
	float l;	/* lat or lon in radians*/
	float s;	/* sin */
	float c;	/* cos */
};
struct place {
	struct coord nlat;
	struct coord wlon;
};
double sin(), cos(), tan(), fabs(), sqrt(), log(), exp(), atan2();
double hypot();

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.