Annotation of researchv8dc/cmd/map/map.h, revision 1.1.1.1

1.1       root        1: #include <math.h>
                      2: 
                      3: #define PI 3.14159265358979323844
                      4: #define TWOPI (2*PI)
                      5: #define RAD (PI/180)
                      6: 
                      7: #define ECC .08227185422       /* eccentricity of earth */
                      8: #define EC2 .006768657997
                      9: 
                     10: #define FUZZ .0001
                     11: 
                     12: struct coord {
                     13:        float l;        /* lat or lon in radians*/
                     14:        float s;        /* sin */
                     15:        float c;        /* cos */
                     16: };
                     17: struct place {
                     18:        struct coord nlat;
                     19:        struct coord wlon;
                     20: };
                     21: double sin(), cos(), tan(), fabs(), sqrt(), log(), exp(), atan2();
                     22: double hypot();

unix.superglobalmegacorp.com

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