SDL_expf: return SDL_exp() instead of SDL_uclibc_exp() for consistency.
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 05 Aug 2018 10:01:01 +0300
changeset 1207359004900db7f
parent 12072 1e46699fa470
child 12074 448e9f627e71
SDL_expf: return SDL_exp() instead of SDL_uclibc_exp() for consistency.
src/stdlib/SDL_stdlib.c
     1.1 --- a/src/stdlib/SDL_stdlib.c	Sat Aug 04 11:52:46 2018 -0400
     1.2 +++ b/src/stdlib/SDL_stdlib.c	Sun Aug 05 10:01:01 2018 +0300
     1.3 @@ -216,7 +216,7 @@
     1.4  #if defined(HAVE_EXPF)
     1.5      return expf(x);
     1.6  #else
     1.7 -    return (float)SDL_uclibc_exp((double)x);
     1.8 +    return (float)SDL_exp((double)x);
     1.9  #endif
    1.10  }
    1.11  
    1.12 @@ -224,7 +224,7 @@
    1.13  SDL_fabs(double x)
    1.14  {
    1.15  #if defined(HAVE_FABS)
    1.16 -    return fabs(x); 
    1.17 +    return fabs(x);
    1.18  #else
    1.19      return SDL_uclibc_fabs(x);
    1.20  #endif
    1.21 @@ -234,7 +234,7 @@
    1.22  SDL_fabsf(float x)
    1.23  {
    1.24  #if defined(HAVE_FABSF)
    1.25 -    return fabsf(x); 
    1.26 +    return fabsf(x);
    1.27  #else
    1.28      return (float)SDL_fabs((double)x);
    1.29  #endif