raze/source/common/thirdparty/math
Mitchell Richters 33bc4b08cb - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings.
Examples:

/home/mrichters/Repos/Raze/source/common/thirdparty/math/exp.c: In function ‘c_exp’:
/home/mrichters/Repos/Raze/source/common/thirdparty/math/exp.c:171:48: warning: declaration of built-in function ‘floor’ without a prototype; expected ‘double(double)’ [-Wbuiltin-declaration-mismatch]
  171 | double polevl(double, void *, int), floor(), ldexp();
      |                                                ^~~~~
/home/mrichters/Repos/Raze/source/common/thirdparty/math/exp.c:171:57: warning: declaration of built-in function ‘ldexp’ without a prototype; expected ‘double(double,  int)’ [-Wbuiltin-declaration-mismatch]
  171 | double polevl(double, void *, int), floor(), ldexp();

/home/mrichters/Repos/Raze/source/common/thirdparty/math/exp.c:200:16: warning: passing arguments to 'polevl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
px = x * polevl( xx, P, 2 );
               ^
/home/mrichters/Repos/Raze/source/common/thirdparty/math/exp.c:201:17: warning: passing arguments to 'polevl' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
x =  px/( polevl( xx, Q, 3 ) - px );
                ^
/home/mrichters/Repos/Raze/source/common/thirdparty/math/exp.c:167:8: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
double c_exp(x)
       ^
3 warnings generated.
2023-10-05 10:32:44 +11:00
..
asin.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
atan.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
cmath.h - backend update from GZDoom. 2022-08-26 18:28:22 +02:00
const.c - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
cosh.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
exp.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
fastsin.cpp - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
isnan.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
log.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
log10.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
mconf.h - migrated to GZDoom's utility code. 2020-04-12 08:30:39 +02:00
mtherr.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
polevl.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
pow.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
powi.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
sin.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
sinh.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
sqrt.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
tan.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00
tanh.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-10-05 10:32:44 +11:00