diff options
author | Sam Lantinga <slouken@libsdl.org> | 2017-11-04 15:34:14 -0700 |
---|---|---|
committer | Sam Lantinga <slouken@libsdl.org> | 2017-11-04 15:34:14 -0700 |
commit | 48bcdfd8cc3db5b100e06ca9d5cdcedd4b46a35a (patch) | |
tree | 242419b5ea9f870eb6e31c6ee92fb083d498f01e /include/SDL_stdinc.h | |
parent | 325dff1cb1a34eb3f0f46e52c27a7bf8a3067211 (diff) |
Added float versions of SDL's math functions
Diffstat (limited to 'include/SDL_stdinc.h')
-rw-r--r-- | include/SDL_stdinc.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index 72402299f2..115644d0de 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -501,18 +501,29 @@ extern DECLSPEC int SDLCALL SDL_vsnprintf(SDL_OUT_Z_CAP(maxlen) char *text, size #endif extern DECLSPEC double SDLCALL SDL_acos(double x); +extern DECLSPEC float SDLCALL SDL_acosf(float x); extern DECLSPEC double SDLCALL SDL_asin(double x); +extern DECLSPEC float SDLCALL SDL_asinf(float x); extern DECLSPEC double SDLCALL SDL_atan(double x); +extern DECLSPEC float SDLCALL SDL_atanf(float x); extern DECLSPEC double SDLCALL SDL_atan2(double x, double y); +extern DECLSPEC float SDLCALL SDL_atan2f(float x, float y); extern DECLSPEC double SDLCALL SDL_ceil(double x); +extern DECLSPEC float SDLCALL SDL_ceilf(float x); extern DECLSPEC double SDLCALL SDL_copysign(double x, double y); +extern DECLSPEC float SDLCALL SDL_copysignf(float x, float y); extern DECLSPEC double SDLCALL SDL_cos(double x); extern DECLSPEC float SDLCALL SDL_cosf(float x); extern DECLSPEC double SDLCALL SDL_fabs(double x); +extern DECLSPEC float SDLCALL SDL_fabsf(float x); extern DECLSPEC double SDLCALL SDL_floor(double x); +extern DECLSPEC float SDLCALL SDL_floorf(float x); extern DECLSPEC double SDLCALL SDL_log(double x); +extern DECLSPEC float SDLCALL SDL_logf(float x); extern DECLSPEC double SDLCALL SDL_pow(double x, double y); +extern DECLSPEC float SDLCALL SDL_powf(float x, float y); extern DECLSPEC double SDLCALL SDL_scalbn(double x, int n); +extern DECLSPEC float SDLCALL SDL_scalbnf(float x, int n); extern DECLSPEC double SDLCALL SDL_sin(double x); extern DECLSPEC float SDLCALL SDL_sinf(float x); extern DECLSPEC double SDLCALL SDL_sqrt(double x); |