raze/source/common/thirdparty/math
Mitchell Richters 39df2714e9 - 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-12-05 22:39:24 +01:00
..
asin.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
atan.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01: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-12-05 22:39:24 +01:00
exp.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01: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-12-05 22:39:24 +01:00
log.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
log10.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01: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-12-05 22:39:24 +01:00
polevl.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
pow.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
powi.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
sin.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
sinh.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
sqrt.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
tan.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00
tanh.c - Modernise function declarations in Cephis C math to address ongoing GCC and Clang warnings. 2023-12-05 22:39:24 +01:00