From 6cb3be264b4e067bf9d302392a904de7d3c50673 Mon Sep 17 00:00:00 2001 From: "K. Lange" Date: Thu, 1 Sep 2022 06:23:44 +0900 Subject: [PATCH] Don't bind 'math.gamma' to libc gamma, we have no idea what that might actually calculate --- src/modules/module_math.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/modules/module_math.c b/src/modules/module_math.c index ebf6044..4aaa4c5 100644 --- a/src/modules/module_math.c +++ b/src/modules/module_math.c @@ -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");