all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Vladimir Nikishkin <lockywolf@gmail.com>
Cc: 64077-done@debbugs.gnu.org
Subject: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH]
Date: Thu, 15 Jun 2023 10:41:00 +0300	[thread overview]
Message-ID: <83sfattboz.fsf@gnu.org> (raw)
In-Reply-To: <87pm5x4ac8.fsf@laptop.lockywolf.net> (message from Vladimir Nikishkin on Thu, 15 Jun 2023 12:25:04 +0800)

> 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.





  reply	other threads:[~2023-06-15  7:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83sfattboz.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=64077-done@debbugs.gnu.org \
    --cc=lockywolf@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.