]> gitweb.factorcode.org Git - factor.git/commitdiff
math.functions: adding docs for lgamma
authorJohn Benediktsson <mrjbq7@gmail.com>
Sat, 19 Aug 2023 13:57:07 +0000 (06:57 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 20 Aug 2023 15:30:20 +0000 (08:30 -0700)
basis/math/functions/functions-docs.factor

index c20de1ffe70550a5ce3c99f63c83651413ba1d60..d1ce0466f8516df3263bb3c7afd2235647d8349d 100644 (file)
@@ -129,6 +129,10 @@ HELP: log10
 { $values { "x" number } { "y" number } }
 { $description "Logarithm function base 10. Outputs negative infinity if " { $snippet "x" } " is 0." } ;
 
+HELP: lgamma
+{ $values { "x" number } { "y" number } }
+{ $description "Outputs the logarithm of the gamma function of " { $snippet "x" } } ;
+
 HELP: sqrt
 { $values { "x" number } { "y" number } }
 { $description "Square root function." } ;