Just bind tgamma instead for now; can alias it later

This commit is contained in:
K. Lange 2022-09-01 06:33:16 +09:00
parent 6cb3be264b
commit 90f6854c72

View File

@ -89,6 +89,7 @@ MATH_ONE(erfc)
MATH_ONE(log1p)
#if !defined(__EMSCRIPTEN__) && !defined(__APPLE__) && !defined(_WIN32)
MATH_ONE(tgamma)
MATH_ONE(lgamma)
#endif
@ -220,6 +221,9 @@ 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(tgamma),
"@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");