This commit is contained in:
Ethan Lee 2018-08-04 11:52:46 -04:00
parent 4d4bb2b0ed
commit b4fe7412f9
22 changed files with 234 additions and 3 deletions

View file

@ -200,6 +200,26 @@ SDL_cosf(float x)
#endif
}
double
SDL_exp(double x)
{
#if defined(HAVE_EXP)
return exp(x);
#else
return SDL_uclibc_exp(x);
#endif
}
float
SDL_expf(float x)
{
#if defined(HAVE_EXPF)
return expf(x);
#else
return (float)SDL_uclibc_exp((double)x);
#endif
}
double
SDL_fabs(double x)
{