GNU bug report logs - #64077
30.0.50; Wrong definition of gamma function in calc.texi [PATCH]

Previous Next

Package: emacs;

Reported by: Vladimir Nikishkin <lockywolf <at> gmail.com>

Date: Thu, 15 Jun 2023 04:30:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Vladimir Nikishkin <lockywolf <at> gmail.com>
Subject: bug#64077: closed (Re: bug#64077: 30.0.50; Wrong definition of
 gamma function in calc.texi [PATCH])
Date: Thu, 15 Jun 2023 07:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH]

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 64077 <at> debbugs.gnu.org.

-- 
64077: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=64077
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Vladimir Nikishkin <lockywolf <at> gmail.com>
Cc: 64077-done <at> debbugs.gnu.org
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 <at> 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.

[Message part 3 (message/rfc822, inline)]
From: Vladimir Nikishkin <lockywolf <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH]
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.)



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



This bug report was last modified 2 years and 31 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.