| # | Line 41 | Line 41 | extern double atan2a(double y, double x); | |
|---|---|---|
| 41 | #define tsin sin | |
| 42 | #define ttan tan | |
| 43 | #else | |
| 44 | < | /* table-based cosine approximation */ |
| 44 | > | /* table-based approx in tcos.c */ |
| 45 | #define tsin(x) tcos((x)-(PI/2.)) | |
| 46 | #define ttan(x) (tsin(x)/tcos(x)) | |
| 47 | #endif | |
| 48 | – | |
| 49 | – | #ifdef _WIN32 |
| 50 | – | extern double erf(double x); |
| 51 | – | extern double erfc(double x); |
| 52 | – | #endif |
| 48 | /* defined in xf.c */ | |
| 49 | extern int xf(XF *ret, int ac, char *av[]); | |
| 50 | extern int invxf(XF *ret, int ac, char *av[]); | |
| # | Line 66 | Line 61 | extern double fdir2diff(int32 dc1, FVECT v2); | |
| 61 | } | |
| 62 | #endif | |
| 63 | #endif /* _RAD_RTMATH_H_ */ | |
| 69 | – | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |