Don't bind 'math.gamma' to libc gamma, we have no idea what that might actually calculate

This commit is contained in:
K. Lange 2022-09-01 06:23:44 +09:00
parent d63ab70466
commit 6cb3be264b

View File

@ -89,7 +89,6 @@ MATH_ONE(erfc)
MATH_ONE(log1p)
#if !defined(__EMSCRIPTEN__) && !defined(__APPLE__) && !defined(_WIN32)
MATH_ONE(gamma)
MATH_ONE(lgamma)
#endif
@ -221,9 +220,6 @@ KrkValue krk_module_onload_math(void) {
"@brief Calculates the complementary error function of the input.\n"
"@arguments x");
#if !defined(__EMSCRIPTEN__) && !defined(__APPLE__) && !defined(_WIN32)
KRK_DOC(bind(gamma),
"@brief Calculates the gamma of the input.\n"
"@arguments x");
KRK_DOC(bind(lgamma),
"@brief Calculates the log gamma of the input.\n"
"@arguments x");