/*1Simple DirectMedia Layer2Copyright (C) 1997-2025 Sam Lantinga <[email protected]>34This software is provided 'as-is', without any express or implied5warranty. In no event will the authors be held liable for any damages6arising from the use of this software.78Permission is granted to anyone to use this software for any purpose,9including commercial applications, and to alter it and redistribute it10freely, subject to the following restrictions:11121. The origin of this software must not be misrepresented; you must not13claim that you wrote the original software. If you use this software14in a product, an acknowledgment in the product documentation would be15appreciated but is not required.162. Altered source versions must be plainly marked as such, and must not be17misrepresented as being the original software.183. This notice may not be removed or altered from any source distribution.19*/2021#ifndef math_libm_h_22#define math_libm_h_2324#include "SDL_internal.h"2526/* Math routines from uClibc: http://www.uclibc.org */2728extern double SDL_uclibc_atan(double x);29extern double SDL_uclibc_atan2(double y, double x);30extern double SDL_uclibc_copysign(double x, double y);31extern double SDL_uclibc_cos(double x);32extern double SDL_uclibc_exp(double x);33extern double SDL_uclibc_fabs(double x);34extern double SDL_uclibc_floor(double x);35extern double SDL_uclibc_fmod(double x, double y);36extern int SDL_uclibc_isinf(double x);37extern int SDL_uclibc_isinff(float x);38extern int SDL_uclibc_isnan(double x);39extern int SDL_uclibc_isnanf(float x);40extern double SDL_uclibc_log(double x);41extern double SDL_uclibc_log10(double x);42extern double SDL_uclibc_modf(double x, double *y);43extern double SDL_uclibc_pow(double x, double y);44extern double SDL_uclibc_scalbn(double x, int n);45extern double SDL_uclibc_sin(double x);46extern double SDL_uclibc_sqrt(double x);47extern double SDL_uclibc_tan(double x);4849#endif /* math_libm_h_ */505152