From f45f33bdc0d031357c2264c6f6b9014e58571e49 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 5 Aug 2018 10:01:01 +0300 Subject: [PATCH] SDL_expf: return SDL_exp() instead of SDL_uclibc_exp() for consistency. --- src/stdlib/SDL_stdlib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/stdlib/SDL_stdlib.c b/src/stdlib/SDL_stdlib.c index 9d07a4b0d1893..d500bf400da16 100644 --- a/src/stdlib/SDL_stdlib.c +++ b/src/stdlib/SDL_stdlib.c @@ -216,7 +216,7 @@ SDL_expf(float x) #if defined(HAVE_EXPF) return expf(x); #else - return (float)SDL_uclibc_exp((double)x); + return (float)SDL_exp((double)x); #endif } @@ -224,7 +224,7 @@ double SDL_fabs(double x) { #if defined(HAVE_FABS) - return fabs(x); + return fabs(x); #else return SDL_uclibc_fabs(x); #endif @@ -234,7 +234,7 @@ float SDL_fabsf(float x) { #if defined(HAVE_FABSF) - return fabsf(x); + return fabsf(x); #else return (float)SDL_fabs((double)x); #endif