This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Defines | |
| #define | HUGE_VAL (infinity()) |
Functions | |
| double | acos (double) |
| double | asin (double) |
| double | atan (double) |
| double | atan2 (double, double) |
| double | ceil (double) |
| double | cos (double) |
| double | cosh (double) |
| double | exp (double) |
| double | fabs (double) |
| double | floor (double) |
| double | fmod (double, double) |
| double | frexp (double, int *) |
| double | infinity (void) |
| double | ldexp (double, int) |
| double | log (double) |
| double | log10 (double) |
| double | modf (double, double *) |
| double | pow (double, double) |
| double | sin (double) |
| double | sinh (double) |
| double | sqrt (double) |
| double | tan (double) |
| double | tanh (double) |
|
|
|
|
|
Referenced by CG_PlayerFlag(), CG_TeamBase(), LerpVector(), NormalToLatLong(), PointToPolygonFormFactor(), and Q_acos(). |
|
|
Referenced by getCameraInfo(), CDlgCamera::OnHScroll(), CMainFrame::OnSplineTest(), Pointfile_Next(), Pointfile_Prev(), and toAngles(). |
|
|
Referenced by CCamWnd::Cam_Draw(). |
|
||||||||||||
|
|
|
|
|
|
|
Referenced by pow(). |
|
|
|
|
|
|
|
||||||||||||
|
|
|
||||||||||||
|
Referenced by pow(). |
|
|
|
|
||||||||||||
|
Referenced by pow(). |
|
|
|
|
|
|
|
||||||||||||
|
Referenced by pow(). |
|
||||||||||||
|
Definition at line 2176 of file paranoia.c. References exp(), frexp(), i, ldexp(), log(), modf(), x, and y. 02178 {
02179 extern double exp(), frexp(), ldexp(), log(), modf();
02180 double xy, ye;
02181 long i;
02182 int ex, ey = 0, flip = 0;
02183
02184 if (!y) return 1.0;
02185
02186 if ((y < -1100. || y > 1100.) && x != -1.) return exp(y * log(x));
02187
02188 if (y < 0.) { y = -y; flip = 1; }
02189 y = modf(y, &ye);
02190 if (y) xy = exp(y * log(x));
02191 else xy = 1.0;
02192 /* next several lines assume >= 32 bit integers */
02193 x = frexp(x, &ex);
02194 if (i = ye) for(;;) {
02195 if (i & 1) { xy *= x; ey += ex; }
02196 if (!(i >>= 1)) break;
02197 x *= x;
02198 ex *= 2;
02199 if (x < .5) { x *= 2.; ex -= 1; }
02200 }
02201 if (flip) { xy = 1. / xy; ey = -ey; }
02202 return ldexp(xy, ey);
02203 }
|
Here is the call graph for this function:

|
|
|
|
|
|
|
|
|
Referenced by AAS_Reachability_Grapple(), CG_CalcFov(), R_SetupProjection(), and UI_DrawPlayer(). |
|
|
|
1.3.9.1