emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#64077: closed (30.0.50; Wrong definition of gamma function in calc.t


From: GNU bug Tracking System
Subject: bug#64077: closed (30.0.50; Wrong definition of gamma function in calc.texi [PATCH])
Date: Thu, 15 Jun 2023 07:41:01 +0000

Your message dated Thu, 15 Jun 2023 10:41:00 +0300
with message-id <83sfattboz.fsf@gnu.org>
and subject line Re: bug#64077: 30.0.50; Wrong definition of gamma function in 
calc.texi [PATCH]
has caused the debbugs.gnu.org bug report #64077,
regarding 30.0.50; Wrong definition of gamma function in calc.texi [PATCH]
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
64077: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64077
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Date: Thu, 15 Jun 2023 12:25:04 +0800 User-agent: mu4e 1.8.14; emacs 30.0.50
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)



--- End Message ---
--- Begin Message --- Subject: Re: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Date: Thu, 15 Jun 2023 10:41:00 +0300
> From: Vladimir Nikishkin <lockywolf@gmail.com>
> Date: Thu, 15 Jun 2023 12:25:04 +0800
> 
> 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.)

Thanks, fixed.  (But the corresponding @infoline needed to be fixed as
well, right?  So I did that.  And switched to using @sup there, to
produce a nicer HTML output.)

Closing.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]