/* C include file containing commonly used constants */ #define cvel 2.997925e8 /* Velocity of light */ #define pi 3.141592653589793 /* pi */ #define sidr 1.2153526418977e-6 /* Sidereal rate */ #define rtod 57.2957795130823 /* Scales radians to degrees */ #define mastor 4.84813681109536e-9 /* milliarcsec to radians */ #define rtomas 2.06264806247096e+8 /* radians to milliarcsec */ #define rtoas 2.06264806247096e+5 /* radians to arcsec */ #define rtoam 3.43774677078494e+3 /* radians to milliarcsec */ #define dtor 0.0174532925199433 /* Scales degrees to radians */ #define rtoh 3.81971863420549 /* Scales radians to hours */ #define daysec 86400.0 /* Seconds in a day */ #define twopi 6.28318530717959 /* 2*pi */ #define halfpi 1.5707963267949 /* pi/2 */ #define uttost 0.9972695657 /* Sidereal secs per UT second */ #define uttomin (1.0/60.0) /* Minutes per internal time unit */