Go to the documentation of this file.
155 #ifndef WCSLIB_WCSTRIG
156 #define WCSLIB_WCSTRIG
160 #include "wcsconfig.h"
163 void sincos(
double angle,
double *sin,
double *cos);
176 #define cosd(X) cos((X)*D2R)
177 #define sind(X) sin((X)*D2R)
178 #define tand(X) tan((X)*D2R)
179 #define acosd(X) acos(X)*R2D
180 #define asind(X) asin(X)*R2D
181 #define atand(X) atan(X)*R2D
182 #define atan2d(Y,X) atan2(Y,X)*R2D
184 #define sincosd(X,S,C) sincos((X)*D2R,(S),(C))
186 #define sincosd(X,S,C) *(S) = sin((X)*D2R); *(C) = cos((X)*D2R);
193 double cosd(
double angle);
194 double sind(
double angle);
195 void sincosd(
double angle,
double *sin,
double *cos);
196 double tand(
double angle);
197 double acosd(
double x);
198 double asind(
double y);
199 double atand(
double s);
200 double atan2d(
double y,
double x);
203 #define WCSTRIG_TOL 1e-10