#include <floatlib.h>
Go to the source code of this file.
|
#define | roundf(in) (in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f)) |
|
#define | cos(x) ((double)cosf((float)x)) |
|
#define | pow(x, y) ((double)powf((float)x, (float)y)) |
|
#define | sin(x) ((double)sinf((float)x)) |
|
#define | ceil(x) ((double)ceilf((float)x)) |
|
#define | floor(x) ((double)floorf((float)x)) |
|
#define | sqrt(x) ((double)sqrtf((float)x)) |
|
#define | fabs(x) ((double)fabsf((float)(x))) |
|
#define | fmaxf(a, b) (((a) > (b)) ? (a) : (b)) |
|
#define | fminf(a, b) (((a) < (b)) ? (a) : (b)) |
|
#define | exp(a) ((double)expf((float)a)) |
|
#define | log(a) ((double)logf((float)a)) |
|
◆ ceil
#define ceil |
( |
|
x | ) |
((double)ceilf((float)x)) |
◆ cos
#define cos |
( |
|
x | ) |
((double)cosf((float)x)) |
◆ exp
#define exp |
( |
|
a | ) |
((double)expf((float)a)) |
◆ fabs
#define fabs |
( |
|
x | ) |
((double)fabsf((float)(x))) |
◆ floor
#define floor |
( |
|
x | ) |
((double)floorf((float)x)) |
◆ fmaxf
#define fmaxf |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) > (b)) ? (a) : (b)) |
◆ fminf
#define fminf |
( |
|
a, |
|
|
|
b |
|
) |
| (((a) < (b)) ? (a) : (b)) |
◆ log
#define log |
( |
|
a | ) |
((double)logf((float)a)) |
◆ pow
#define pow |
( |
|
x, |
|
|
|
y |
|
) |
| ((double)powf((float)x, (float)y)) |
◆ roundf
#define roundf |
( |
|
in | ) |
(in >= 0.0f ? floorf(in + 0.5f) : ceilf(in - 0.5f)) |
◆ sin
#define sin |
( |
|
x | ) |
((double)sinf((float)x)) |
◆ sqrt
#define sqrt |
( |
|
x | ) |
((double)sqrtf((float)x)) |