summaryrefslogtreecommitdiff
path: root/libc/src/math/nvptx/lgamma.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/src/math/nvptx/lgamma.cpp')
-rw-r--r--libc/src/math/nvptx/lgamma.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/src/math/nvptx/lgamma.cpp b/libc/src/math/nvptx/lgamma.cpp
index 0447a97eeae7..0dc3111c6ae1 100644
--- a/libc/src/math/nvptx/lgamma.cpp
+++ b/libc/src/math/nvptx/lgamma.cpp
@@ -9,11 +9,10 @@
#include "src/math/lgamma.h"
#include "src/__support/common.h"
-#include "declarations.h"
#include "src/__support/macros/config.h"
namespace LIBC_NAMESPACE_DECL {
-LLVM_LIBC_FUNCTION(double, lgamma, (double x)) { return __nv_lgamma(x); }
+LLVM_LIBC_FUNCTION(double, lgamma, (double)) { return 0.0; }
} // namespace LIBC_NAMESPACE_DECL