28INLINE
float csqrt(
float v);
29INLINE
float csin(
float v);
30INLINE
float ccos(
float v);
31INLINE
float ctan(
float v);
32INLINE
void csincos(
float v,
float *sin_result,
float *cos_result);
34INLINE
float cabs(
float v);
35INLINE
float catan(
float v);
36INLINE
float catan2(
float y,
float x);
37INLINE
float casin(
float v);
38INLINE
float cacos(
float v);
39INLINE
float cmod(
float x,
float y);
40INLINE
float cpow(
float x,
float y);
42INLINE
double cfloor(
double f);
43INLINE
double cceil(
double f);
44INLINE
double cfrac(
double f);
45INLINE
double csqrt(
double v);
46INLINE
double csin(
double v);
47INLINE
double ccos(
double v);
48INLINE
double ctan(
double v);
49INLINE
void csincos(
double v,
double *sin_result,
double *cos_result);
50INLINE
double cabs(
double v);
51INLINE
double catan(
double v);
52INLINE
double catan2(
double y,
double x);
53INLINE
double casin(
double v);
54INLINE
double cacos(
double v);
55INLINE
double cmod(
double x,
double y);
56INLINE
double cpow(
double x,
double y);
58INLINE
int cpow(
int x,
int y);
62INLINE
bool cnan(
float v);
63INLINE
bool cnan(
double v);
66INLINE
bool cinf(
float v);
67INLINE
bool cinf(
double v);
70INLINE
float make_nan(
float);
71INLINE
double make_nan(
double);
72INLINE
float make_inf(
float);
73INLINE
double make_inf(
double);
75INLINE
int cmod(
int x,
int y);
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
float csin_over_x(float v)
Computes sin(x) / x, well-behaved as x approaches 0.
float cmod(float x, float y)
This is similar to fmod(), but it behaves properly when x is negative: that is, it always returns a v...
double cfrac(double f)
Returns the fractional component of f: f - cfloor(f).