src/libm/s_atan.c
changeset 8056 abd9434c5d3e
parent 8004 13da154af020
child 11683 48bcba563d9c
     1.1 --- a/src/libm/s_atan.c	Sat Dec 07 11:19:52 2013 -0800
     1.2 +++ b/src/libm/s_atan.c	Mon Dec 09 15:17:20 2013 -0500
     1.3 @@ -113,28 +113,3 @@
     1.4  }
     1.5  libm_hidden_def(atan)
     1.6  
     1.7 -double SDL_acos(double val)
     1.8 -{
     1.9 -    double result;
    1.10 -    if (val == -1.0) {
    1.11 -        result = M_PI;
    1.12 -    } else {
    1.13 -        result = SDL_atan(SDL_sqrt(1.0 - val * val) / val);
    1.14 -        if (result < 0.0)
    1.15 -        {
    1.16 -            result += M_PI;
    1.17 -        }
    1.18 -    }
    1.19 -    return result;
    1.20 -}
    1.21 -
    1.22 -double SDL_asin(double val)
    1.23 -{
    1.24 -    double result;
    1.25 -    if (val == -1.0) {
    1.26 -        result = -(M_PI / 2.0);
    1.27 -    } else {
    1.28 -        result = (M_PI / 2.0) - SDL_acos(val);
    1.29 -    }
    1.30 -    return result;
    1.31 -}