From unknown Thu Aug 14 22:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2023 04:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 64077@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168680338516705 (code B ref -1); Thu, 15 Jun 2023 04:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Jun 2023 04:29:45 +0000 Received: from localhost ([127.0.0.1]:45888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9ecD-0004LN-HP for submit@debbugs.gnu.org; Thu, 15 Jun 2023 00:29:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:42650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9ecA-0004LD-5D for submit@debbugs.gnu.org; Thu, 15 Jun 2023 00:29:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9ec9-0006lb-Py for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 00:29:41 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9ec8-0005Eu-3G for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 00:29:41 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-982a88ca610so17959166b.2 for ; Wed, 14 Jun 2023 21:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686803377; x=1689395377; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=O+iEP92VFQMYKsr10tXSX6umVR7ty9EMx6QtgaRwTGo=; b=VICE9qAkoJAUagIjEovVXwhr3af/X6/yVqZuJXWMtWefj0NjcstFTXmSkkAT2SSMzz habKh1bCE9S3afmvLg0UYlB4vMLq0ng3lJ52DvgSNZ1f63Vl8vF4q2zKjStREiczn665 uZXgP3j6ld1arSarO2r8zj9r4LtLUIF+nFvFwq/i40zlHMNUVPGv1qa2KUla3hOyDo8M qPi2Wu5P2PKXZ1FScAvIhjJsRVxoxXw5M5GkC+fAchzCftq7q/II0S4Ks7bjIqpbPA1K X3binz0owxh7L9Z4E3vqA4oTjAu/Grw+m52y/VRZycAqxIrNU0QZSiLXOsiyRKTfywhl UcTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686803377; x=1689395377; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O+iEP92VFQMYKsr10tXSX6umVR7ty9EMx6QtgaRwTGo=; b=C5A0rsF86nqACQZi1qcJkzscTr2Kr1/JH74QPK9ekYYNKGCPRaidZHDeHTuU2W+RWr B0roj5UWYQQMf9+h9ASdtPtu5eJt3lKxWorZjc1F79W9V2ih7PBnhvQL66LT3OtRDe5w NjIIytI+lKGpzSHJSd0oF/jLlju/8/CspxNrQSn/D6zcJJ/arcV5Mr7/7aKuCRxccYQA O6FUw1Z6V44+iQf8MXjgQ4owo0no7ZtoIvEi2xrV5GxZMjqqU7OU8xwJ3SL1JB+TFBMs B/AqwqKOa9zHbOUXafrg9Chp1c5bc56BmAhwKpZKFDohobVj5PRckdtJSA0uAtxMYa2X aV0g== X-Gm-Message-State: AC+VfDz38MjXGnO1dZmKik6T5OWzAUpjnXEi0qPWkhUFrC8ZLRdzOM3I d5fXgzF9mVO4Wa4tqPqAoEZwuUU7q5dUoA== X-Google-Smtp-Source: ACHHUZ4nWgiu0cUjKbKwwphBrxKH0qBxjAVWUmYbV6vi7rWmX4Q48UsLSa/G5iS92xadhAUO1YK/bw== X-Received: by 2002:a17:907:7fa3:b0:978:a555:9bce with SMTP id qk35-20020a1709077fa300b00978a5559bcemr17619802ejc.74.1686803376717; Wed, 14 Jun 2023 21:29:36 -0700 (PDT) Received: from laptop.lockywolf.net ([2001:470:24:315::102]) by smtp.gmail.com with ESMTPSA id h18-20020a1709063b5200b0097457363fc0sm8836236ejf.33.2023.06.14.21.29.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 21:29:36 -0700 (PDT) User-agent: mu4e 1.8.14; emacs 30.0.50 From: Vladimir Nikishkin Date: Thu, 15 Jun 2023 12:25:04 +0800 Message-ID: <87pm5x4ac8.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=lockywolf@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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) From unknown Thu Aug 14 22:21:56 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vladimir Nikishkin Subject: bug#64077: closed (Re: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH]) Message-ID: References: <83sfattboz.fsf@gnu.org> <87pm5x4ac8.fsf@laptop.lockywolf.net> X-Gnu-PR-Message: they-closed 64077 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 64077@debbugs.gnu.org Date: Thu, 15 Jun 2023 07:41:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1686814862-4419-1" This is a multi-part message in MIME format... ------------=_1686814862-4419-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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@debbugs.gnu.org. --=20 64077: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D64077 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1686814862-4419-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 64077-done) by debbugs.gnu.org; 15 Jun 2023 07:40:46 +0000 Received: from localhost ([127.0.0.1]:46059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9hb4-00018g-7x for submit@debbugs.gnu.org; Thu, 15 Jun 2023 03:40:46 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9hb2-00018Q-Pf for 64077-done@debbugs.gnu.org; Thu, 15 Jun 2023 03:40:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9hax-0004wZ-DU; Thu, 15 Jun 2023 03:40:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=7l0S5pYqpoJ0JjPCqEVE7ZBCddWKnu5LAbqG5mwtb+A=; b=eWZzW45HB2W+ FadJAk3p1PkXnxuF1Xj9zW3g0U8kxbC5Uhb6BSpWk/ImsuDdeMgcod4xRmM1shqUMACcdZ1IzsIMW WQ5iwi23KpCei2b6jZ/IsfyPsgMki+NquaHPIoSjqRLnlAMtXNJyHp8MAyj0tstvRpXOan7u3flOr dyxMX2EVDNyl7/FlynBpY+L/JU0drpQtCWpEgpV5CQOC9Za6oH7sm1U7F339dvH5SxBhrI49iYbUO 6kKdJa7uqTPjPucY7JIlVkeL8uhhcSDEbXPEBrg1F0FqjMelMTKxLoXF0khB0i6q3YKYQIpi+rxsK AW0xDug/fKokzyt1ZxkkOw==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9haw-0000GX-Uw; Thu, 15 Jun 2023 03:40:39 -0400 Date: Thu, 15 Jun 2023 10:41:00 +0300 Message-Id: <83sfattboz.fsf@gnu.org> From: Eli Zaretskii To: Vladimir Nikishkin In-Reply-To: <87pm5x4ac8.fsf@laptop.lockywolf.net> (message from Vladimir Nikishkin on Thu, 15 Jun 2023 12:25:04 +0800) Subject: Re: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] References: <87pm5x4ac8.fsf@laptop.lockywolf.net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 64077-done Cc: 64077-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Vladimir Nikishkin > 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. ------------=_1686814862-4419-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Jun 2023 04:29:45 +0000 Received: from localhost ([127.0.0.1]:45888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9ecD-0004LN-HP for submit@debbugs.gnu.org; Thu, 15 Jun 2023 00:29:45 -0400 Received: from lists.gnu.org ([209.51.188.17]:42650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9ecA-0004LD-5D for submit@debbugs.gnu.org; Thu, 15 Jun 2023 00:29:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9ec9-0006lb-Py for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 00:29:41 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q9ec8-0005Eu-3G for bug-gnu-emacs@gnu.org; Thu, 15 Jun 2023 00:29:41 -0400 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-982a88ca610so17959166b.2 for ; Wed, 14 Jun 2023 21:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686803377; x=1689395377; h=mime-version:message-id:date:subject:to:from:user-agent:from:to:cc :subject:date:message-id:reply-to; bh=O+iEP92VFQMYKsr10tXSX6umVR7ty9EMx6QtgaRwTGo=; b=VICE9qAkoJAUagIjEovVXwhr3af/X6/yVqZuJXWMtWefj0NjcstFTXmSkkAT2SSMzz habKh1bCE9S3afmvLg0UYlB4vMLq0ng3lJ52DvgSNZ1f63Vl8vF4q2zKjStREiczn665 uZXgP3j6ld1arSarO2r8zj9r4LtLUIF+nFvFwq/i40zlHMNUVPGv1qa2KUla3hOyDo8M qPi2Wu5P2PKXZ1FScAvIhjJsRVxoxXw5M5GkC+fAchzCftq7q/II0S4Ks7bjIqpbPA1K X3binz0owxh7L9Z4E3vqA4oTjAu/Grw+m52y/VRZycAqxIrNU0QZSiLXOsiyRKTfywhl UcTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686803377; x=1689395377; h=mime-version:message-id:date:subject:to:from:user-agent :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=O+iEP92VFQMYKsr10tXSX6umVR7ty9EMx6QtgaRwTGo=; b=C5A0rsF86nqACQZi1qcJkzscTr2Kr1/JH74QPK9ekYYNKGCPRaidZHDeHTuU2W+RWr B0roj5UWYQQMf9+h9ASdtPtu5eJt3lKxWorZjc1F79W9V2ih7PBnhvQL66LT3OtRDe5w NjIIytI+lKGpzSHJSd0oF/jLlju/8/CspxNrQSn/D6zcJJ/arcV5Mr7/7aKuCRxccYQA O6FUw1Z6V44+iQf8MXjgQ4owo0no7ZtoIvEi2xrV5GxZMjqqU7OU8xwJ3SL1JB+TFBMs B/AqwqKOa9zHbOUXafrg9Chp1c5bc56BmAhwKpZKFDohobVj5PRckdtJSA0uAtxMYa2X aV0g== X-Gm-Message-State: AC+VfDz38MjXGnO1dZmKik6T5OWzAUpjnXEi0qPWkhUFrC8ZLRdzOM3I d5fXgzF9mVO4Wa4tqPqAoEZwuUU7q5dUoA== X-Google-Smtp-Source: ACHHUZ4nWgiu0cUjKbKwwphBrxKH0qBxjAVWUmYbV6vi7rWmX4Q48UsLSa/G5iS92xadhAUO1YK/bw== X-Received: by 2002:a17:907:7fa3:b0:978:a555:9bce with SMTP id qk35-20020a1709077fa300b00978a5559bcemr17619802ejc.74.1686803376717; Wed, 14 Jun 2023 21:29:36 -0700 (PDT) Received: from laptop.lockywolf.net ([2001:470:24:315::102]) by smtp.gmail.com with ESMTPSA id h18-20020a1709063b5200b0097457363fc0sm8836236ejf.33.2023.06.14.21.29.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jun 2023 21:29:36 -0700 (PDT) User-agent: mu4e 1.8.14; emacs 30.0.50 From: Vladimir Nikishkin To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Date: Thu, 15 Jun 2023 12:25:04 +0800 Message-ID: <87pm5x4ac8.fsf@laptop.lockywolf.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=lockywolf@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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) ------------=_1686814862-4419-1-- From unknown Thu Aug 14 22:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2023 07:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 64077@debbugs.gnu.org Cc: eliz@gnu.org, lockywolf@gmail.com Received: via spool by 64077-submit@debbugs.gnu.org id=B64077.16868156756094 (code B ref 64077); Thu, 15 Jun 2023 07:55:01 +0000 Received: (at 64077) by debbugs.gnu.org; 15 Jun 2023 07:54:35 +0000 Received: from localhost ([127.0.0.1]:46084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9hoQ-0001aE-Rh for submit@debbugs.gnu.org; Thu, 15 Jun 2023 03:54:35 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:54438) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9hoO-0001Zv-Le for 64077@debbugs.gnu.org; Thu, 15 Jun 2023 03:54:33 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 10DCE21FDA; Thu, 15 Jun 2023 07:54:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686815667; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NYsSOEXzSxfnrlCW4m9OXCzzuW7ESaIZ5ICdC2L0XZg=; b=q/QeFjE0oPPIh2tfWTMZyR07/wKw+P5C1kwYNOPJW0G0rETqdoS4ifyNUVVpuzK959gL1Q i1K8xkmH69zKNLAUzj/CKVaaYbXer2jLynDCD0Q3SrIViB3xUyCrG/t59K3fFOLIF8k/Kg DwUopGaXuHJY7l0GZ3XbvWWVOIERDWE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686815667; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NYsSOEXzSxfnrlCW4m9OXCzzuW7ESaIZ5ICdC2L0XZg=; b=/RhnsDtK0sTEX0DezsLmT8UBkLL/4aPxOIQKdazubTvAgOjwgOGn9uPFZ6VPoSH7ucTaRc dO2/XGsUuFaV+pDw== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 02AF82C141; Thu, 15 Jun 2023 07:54:26 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id AAD3E4A037D; Thu, 15 Jun 2023 09:54:26 +0200 (CEST) From: Andreas Schwab In-Reply-To: <83sfattboz.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Jun 2023 10:41:00 +0300") References: <87pm5x4ac8.fsf@laptop.lockywolf.net> <83sfattboz.fsf@gnu.org> X-Yow: All of a sudden, I want to THROW OVER my promising ACTING CAREER, grow a LONG BLACK BEARD and wear a BASEBALL HAT!! ... Although I don't know WHY!! Date: Thu, 15 Jun 2023 09:54:26 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Jun 15 2023, Eli Zaretskii wrote: >> From: Vladimir Nikishkin >> 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.) Using @sup{..} is wrong here, though. The @infoline line is using calc algebraic syntax. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Thu Aug 14 22:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2023 08:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Andreas Schwab Cc: lockywolf@gmail.com, 64077@debbugs.gnu.org Received: via spool by 64077-submit@debbugs.gnu.org id=B64077.16868160706842 (code B ref 64077); Thu, 15 Jun 2023 08:02:02 +0000 Received: (at 64077) by debbugs.gnu.org; 15 Jun 2023 08:01:10 +0000 Received: from localhost ([127.0.0.1]:46102 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9huo-0001mH-EG for submit@debbugs.gnu.org; Thu, 15 Jun 2023 04:01:10 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57038) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9hun-0001m5-12 for 64077@debbugs.gnu.org; Thu, 15 Jun 2023 04:01:09 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9huh-0001Jn-JJ; Thu, 15 Jun 2023 04:01:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=aHiiTwevstn1RagNC+IjXq4Y/PF/85jX4ndr3x6Irk0=; b=q1iTNWQ/YDYG b1ysBc7MVweGjnblQtW4QkXkBa9N5B/SXmi0yhG0nh7Csg/JEphZg0y8SgClLvT3kRCTgQeHWVE0+ xstoaBlPAAydgBiwvLcGSD9zHMlqVG6c5prbG43dflLD8Mh9h0Rv8QSlF3TsNwV4Ugfr7et6hEQ2Q z9scbpyyTdTo3KOahLtXWdebJlcfJVo5qn4Z6D62GSyaHW7bZEGSgPNfYiI/Kka6ALTCSZAaWQkPv sExWhACokRdvN1A32n26VB2e7a1IerbT2kH4X2k13DMHlA7UKbLeanftEY6DDirdoX/nqKOIkKRXC N6mGEnNYpm+5e4bdn/ULMg==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9huh-0004eQ-2V; Thu, 15 Jun 2023 04:01:03 -0400 Date: Thu, 15 Jun 2023 11:01:25 +0300 Message-Id: <83mt11taqy.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Andreas Schwab on Thu, 15 Jun 2023 09:54:26 +0200) References: <87pm5x4ac8.fsf@laptop.lockywolf.net> <83sfattboz.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andreas Schwab > Cc: eliz@gnu.org, lockywolf@gmail.com > Date: Thu, 15 Jun 2023 09:54:26 +0200 > > On Jun 15 2023, Eli Zaretskii wrote: > > > 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.) > > Using @sup{..} is wrong here, though. The @infoline line is using calc > algebraic syntax. I don't see how that follows. Those look like function definitions to me, and they are not inside @kbd (which would indicate something the user should type into Calc). So I don't think @sup is wrong there. From unknown Thu Aug 14 22:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2023 08:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: lockywolf@gmail.com, 64077@debbugs.gnu.org Received: via spool by 64077-submit@debbugs.gnu.org id=B64077.16868169828207 (code B ref 64077); Thu, 15 Jun 2023 08:17:02 +0000 Received: (at 64077) by debbugs.gnu.org; 15 Jun 2023 08:16:22 +0000 Received: from localhost ([127.0.0.1]:46120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9i9W-00028J-5e for submit@debbugs.gnu.org; Thu, 15 Jun 2023 04:16:22 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:37424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9i9U-000286-7r for 64077@debbugs.gnu.org; Thu, 15 Jun 2023 04:16:20 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id AC0E8219E3; Thu, 15 Jun 2023 08:16:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1686816974; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Dgf0asjC6Mr8dMEap3qhUQpEv0fxRxymAI8x1Kej1tQ=; b=ICp8LhwMVdiMZr8/PKwiZTDM9YcfpFDqOFAKqe44lRyAy7q7D7dQAF8iOcplijAVJVBHjC 2HJBbFdpR0MoKmojIrrXaPgvbp2P+XYRjZ5zxkuvErIDmu4RoDeBsRygp0mk1ANNo97Uzq YEvhGFV1uF5ZFfcv8ehjaLd5Am/wpcA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1686816974; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Dgf0asjC6Mr8dMEap3qhUQpEv0fxRxymAI8x1Kej1tQ=; b=BS7n/2954ilOzO8MFLmkUVso2UwkiOK+46mryEez5pL1WreU7WckcpKMpLPOk7rUT0OQD1 xMVr1BgcJ1JzWPAw== Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 9C62D2C141; Thu, 15 Jun 2023 08:16:14 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 903194A037D; Thu, 15 Jun 2023 10:16:14 +0200 (CEST) From: Andreas Schwab In-Reply-To: <83mt11taqy.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Jun 2023 11:01:25 +0300") References: <87pm5x4ac8.fsf@laptop.lockywolf.net> <83sfattboz.fsf@gnu.org> <83mt11taqy.fsf@gnu.org> X-Yow: I will invent "TIDY BOWL"... Date: Thu, 15 Jun 2023 10:16:14 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Jun 15 2023, Eli Zaretskii wrote: > I don't see how that follows. Those look like function definitions to > me, and they are not inside @kbd (which would indicate something the > user should type into Calc). Exactly, in algrebraic notion. This is a TeX-like notation that uses the literal characters ^ and _. > So I don't think @sup is wrong there. exp is a function, not a variable. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Thu Aug 14 22:21:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#64077: 30.0.50; Wrong definition of gamma function in calc.texi [PATCH] Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 15 Jun 2023 08:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64077 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Andreas Schwab Cc: lockywolf@gmail.com, 64077@debbugs.gnu.org Received: via spool by 64077-submit@debbugs.gnu.org id=B64077.168681834010265 (code B ref 64077); Thu, 15 Jun 2023 08:39:02 +0000 Received: (at 64077) by debbugs.gnu.org; 15 Jun 2023 08:39:00 +0000 Received: from localhost ([127.0.0.1]:46147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9iVP-0002fT-It for submit@debbugs.gnu.org; Thu, 15 Jun 2023 04:38:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q9iVO-0002f2-4E for 64077@debbugs.gnu.org; Thu, 15 Jun 2023 04:38:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9iVI-0002F4-Q7; Thu, 15 Jun 2023 04:38:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=1xQ0XN1avz7MkmClmqmWLqE6fW0Lg+TI1SNvZfaUWm4=; b=ggZGWGhKYumm qbg6Jm4lebKcMsWdcF6tPj7xDcOXHGlBexNkebpDyCZY/FZgA55rdgDP0OIG9+vPpmoggx0iPDlNy nyu9yLwGA1vhR6y1swECFVjeV92Mdu6lKAnIlH5l0ObmlSc2gNyR00yC4YrqRAL0DWi89QgVvkP4m bl0mRILIdsUMgLdq65NkhJFrX8ogv4/4Z6DEFh6DJ2UXVeJh+jRTHk0IqKROmYXvcDRUEpd9khvHL YcyABAeCSMKVZoH/tKewbxnxzvbj4wLESt3+z6x1O5980RP1vEgvZ/0GzVVi3Chf4tqpV3UOGG3gH oOVp44M2xhlMJKMsHP02QQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q9iVI-0006SV-9P; Thu, 15 Jun 2023 04:38:52 -0400 Date: Thu, 15 Jun 2023 11:39:14 +0300 Message-Id: <83leglt8zx.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: (message from Andreas Schwab on Thu, 15 Jun 2023 10:16:14 +0200) References: <87pm5x4ac8.fsf@laptop.lockywolf.net> <83sfattboz.fsf@gnu.org> <83mt11taqy.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Andreas Schwab > Cc: lockywolf@gmail.com, 64077@debbugs.gnu.org > Date: Thu, 15 Jun 2023 10:16:14 +0200 > > exp is a function, not a variable. Fixed, thanks.