This commit is contained in:
Ethan Lee committed 2018-08-04 11:52:46 -04:00
1 parent 4d4bb2b0ed
commit b4fe7412f9
22 files changed
+234 -3

No files matched your search

+20
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)
{