SDL_expf: return SDL_exp() instead of SDL_uclibc_exp() for consistency.
This commit is contained in:
1 parent
b4fe7412f9
commit
f45f33bdc0
1 file changed
+1
-1
@@ -216,7 +216,7 @@ SDL_expf(float x)
|
|||||||
#if defined(HAVE_EXPF)
|
#if defined(HAVE_EXPF)
|
||||||
return expf(x);
|
return expf(x);
|
||||||
#else
|
#else
|
||||||
return (float)SDL_uclibc_exp((double)x);
|
return (float)SDL_exp((double)x);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user