From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#61460: 30.0.50; Calendar shows eclipse for quarter moon Date: Mon, 13 Feb 2023 09:13:00 +0100 Message-ID: <87r0uu9e5v.fsf@web.de> References: <87sffab61y.fsf@web.de> <87cz6eb10y.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16783"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 61460@debbugs.gnu.org To: Ulrich Mueller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Feb 13 09:14:21 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pRTye-00047A-Um for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 13 Feb 2023 09:14:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRTyS-00072N-Nj; Mon, 13 Feb 2023 03:14:10 -0500 Original-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 1pRTyN-00071Q-RP for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 03:14:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRTyM-0004Jo-SF for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 03:14:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRTyM-0007Hz-7V for bug-gnu-emacs@gnu.org; Mon, 13 Feb 2023 03:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Feb 2023 08:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61460 X-GNU-PR-Package: emacs Original-Received: via spool by 61460-submit@debbugs.gnu.org id=B61460.167627599727944 (code B ref 61460); Mon, 13 Feb 2023 08:14:02 +0000 Original-Received: (at 61460) by debbugs.gnu.org; 13 Feb 2023 08:13:17 +0000 Original-Received: from localhost ([127.0.0.1]:47573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRTxd-0007Ge-Ad for submit@debbugs.gnu.org; Mon, 13 Feb 2023 03:13:17 -0500 Original-Received: from mout.web.de ([212.227.17.11]:53713) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRTxb-0007GQ-0h for 61460@debbugs.gnu.org; Mon, 13 Feb 2023 03:13:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1676275981; bh=51CWaKZHLBt81xkXN2CASyO4qiMBqQKzy2z3g3/w6pQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=TQc4IFT7MwEnUpYA1eNdCQAKrYl7x4WFClTOoonOH+/j+PRP2rCSuLCiZ4pLBqJG6 pvFtFEE1ftirr7BZSktgIJKTdZg4ii737+3cCLsXeO6w7z4R5FpzfP+KpHSQGvb5Ij VJ+uNflIdo0eP7huwhISM7mn6DflZHaciXUyH+NzcAaLXUG8GQH/KNAxG/LHHLcT5g JB4NXq+5AT0n8DyW6nbbQvXFBa0mhuzzhuBC+lb+ScVATUGB0/zqfKK/a6Np1J1nU4 UywwyadYKY4xp+hNYzDONaBdN8B5dSPyA+kXAdgLtIX9MK1mpVBdFVx0slzmW4oGxP zkG8DNDQBLGgg== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from drachen.dragon ([84.59.210.57]) by smtp.web.de (mrweb105 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MNwfK-1pC0RR1Fbk-00OLxQ; Mon, 13 Feb 2023 09:13:01 +0100 In-Reply-To: (Ulrich Mueller's message of "Mon, 13 Feb 2023 08:28:29 +0100") X-Provags-ID: V03:K1:3ez9KmV0xCX6Y9pY/USCo4fyatJzzVOkwYtx6NCVwo2zgRprgz1 FDAubTia0gfS1jju9WvTfXs4Cp56LCpK6GOWCDioMoWkioNkMZTy8YvxfOT1h+YylRIekAx bNVlVdfcevRgTTl9U9ygEkWWp9PTnAwQ5GRW2RbSrl7JvJEEMLhnp+TpTDy8kmfNBkNUujB shjrftX2lfTfZ2w9Jgiww== UI-OutboundReport: notjunk:1;M01:P0:D1eiljirnDs=;2c/D5OcQzPjkGP1phwLC/6piVzK pd/FG4QOV9mqTQX5R5xjzt4i7npvNfFaxHQn7xQxjz6tzhLAF1EeJhjeK7KRUHU/nTAZqEIMk 1Y1wQIzo60irHgfOv9U007s/UidJOxRa71+Ygrsw0y+4C17YIN+r0bJSo6ylPcpfDBpqpMC8e 9218MFgg1hgLMFbZgKV0pIDII8CuBCNm3/WdAQp9CiyMb8YdY2CLiZULk2X0fMeRTYDqyKXP0 X7zrt1do44Qi6R4BR+08t9kFYn4kFFqzuI2rIwDwkSygMWQVctKhlclr3Cn15myC+x0yyVd7p 3PgKys/eMphcbzQov6CnqNNUVFYR982rWF1WuJDBSJnliesR6LsGHWDFPO0Y8GYhvePiEC6Fh YXLSFLJ22IPgi0frNQtp3cAwv5TH1iGGd6vg9xyrK7b3VFR0MHSZ7ugl0Uom6Noq/l6z7wZ33 9A4qvmbnCYiKegHXlxCIc2v4NGfn4F6n5s/iT9SppEB4WF4+EWm/CJoN58EgSz8bINlz5BH+G xYgWaOt19iN/Hp6HCVZUsayz4lfPz08aQGi7Dx49Py+kow3jJWEn8/QLIkQVa/lh0T+HPjghk x7lT/VB13hrTuZPKJ7McOrFmGZm4Mt3RkI1c91MZ3i1dRtd44AZU9kJS7qEj67IDHcbN2m3v+ JIN48SC5l4oVCGN0tjrFAaM3kQNrgnhfn8oaMTjUjR0oE8NXwv9recnMq24tyBkurI1oh7Q3P dLtzObUNr6ZDs32ETwiE0z4lvEuHfK8ULBHwbnyeFtuinc8pnkHRZc3l9BJ9v84qDIS++T+5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255468 Archived-At: Ulrich Mueller writes: > IIUC, the goal is to calculate the angular distance from the ascending > or descending node, whichever is closer. So one wants this: > > 0=C2=B0 -> 0=C2=B0 > 10=C2=B0 -> 10=C2=B0 > ... > 170=C2=B0 -> 10=C2=B0 > 180=C2=B0 -> 0=C2=B0 > 190=C2=B0 -> 10=C2=B0 > ... > 350=C2=B0 -> 10=C2=B0 Ok, thanks. So the input value is the longitude? > The only thing that I don't understand is the constant 0.37. I would > have expected pi/2 (=3D 90=C2=B0) there. Probably it doesn't matter, beca= use > below it checks for (< moon-lat 0.37), so any larger value will be > ignored. Maybe you gained slightly faster code on a really old computer - the book that is mentioned in the code is quite old. In theory this allows you to get rid of one `if' statement (the comparison against 0.37 is performed anyway). And yes, it doesn't affect the result. Michael.