unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH]
@ 2023-06-15  4:25 Vladimir Nikishkin
  2023-06-15  7:41 ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Vladimir Nikishkin @ 2023-06-15  4:25 UTC (permalink / raw)
  To: 64077


No Emacs code is affected, but the Gamma Function is defined by a
convergent integral, not a divergent one.

Patch below:

---   doc/misc/calc.texi
@@ -18614,7 +18614,7 @@ Advanced Math Functions
 factorial function:  @samp{gamma(n+1) = fact(n)}.  For general complex
 arguments the gamma function can be defined by the following definite
 integral:
-@texline @math{\Gamma(a) = \int_0^\infty t^{a-1} e^t dt}.
+@texline @math{\Gamma(a) = \int_0^\infty t^{a-1} e^{-t} dt}.
 @infoline @expr{gamma(a) = integ(t^(a-1) exp(t), t, 0, inf)}.
 (The actual implementation uses far more efficient computational methods.)



-- 
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-06-15  8:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-15  4:25 bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Vladimir Nikishkin
2023-06-15  7:41 ` Eli Zaretskii
2023-06-15  7:54   ` Andreas Schwab
2023-06-15  8:01     ` Eli Zaretskii
2023-06-15  8:16       ` Andreas Schwab
2023-06-15  8:39         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).