|
float | cabs (float v) |
|
double | cabs (double v) |
|
float | cacos (float v) |
|
double | cacos (double v) |
|
float | casin (float v) |
|
double | casin (double v) |
|
float | catan (float v) |
|
double | catan (double v) |
|
float | catan2 (float y, float x) |
|
double | catan2 (double y, double x) |
|
double | cceil (double f) |
|
float | ccos (float v) |
|
double | ccos (double v) |
|
double | cfloor (double f) |
|
double | cfrac (double f) |
| Returns the fractional component of f: f - cfloor(f). More...
|
|
bool | cinf (float v) |
|
bool | cinf (double v) |
|
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 value in the range [0, y), assuming y is positive. More...
|
|
double | cmod (double x, double y) |
| This is similar to fmod(), but it behaves properly when x is negative: that is, it always returns a value in the range [0, y), assuming y is positive. More...
|
|
int | cmod (int x, int y) |
| This is similar to fmod(), but it behaves properly when x is negative: that is, it always returns a value in the range [0, y), assuming y is positive. More...
|
|
bool | cnan (float v) |
|
bool | cnan (double v) |
|
float | cpow (float x, float y) |
|
double | cpow (double x, double y) |
|
int | cpow (int x, int y) |
|
float | csin (float v) |
|
double | csin (double v) |
|
float | csin_over_x (float v) |
| Computes sin(x) / x, well-behaved as x approaches 0. More...
|
|
void | csincos (float v, float *sin_result, float *cos_result) |
|
void | csincos (double v, double *sin_result, double *cos_result) |
|
float | csqrt (float v) |
|
double | csqrt (double v) |
|
float | ctan (float v) |
|
double | ctan (double v) |
|
float | make_inf (float) |
|
double | make_inf (double) |
|
float | make_nan (float) |
|
double | make_nan (double) |
|
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
- Author
- drose
- Date
- 2000-05-19
Definition in file cmath.h.
int cmod |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inline |
This is similar to fmod(), but it behaves properly when x is negative: that is, it always returns a value in the range [0, y), assuming y is positive.
This integer-valued function is provided since the built-in modulo operator % does not work properly for negative x.
Definition at line 434 of file cmath.I.