From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "H. Dieter Wilhelm" Newsgroups: gmane.emacs.help Subject: Re: Elisp function that performs numeric computations Date: Wed, 19 Jan 2022 19:41:59 +0100 Message-ID: <86fspj36vc.fsf@duenenhof-wilhelm.de> References: <87y23bd9oh.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38263"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 19:49:10 2022 Return-path: Envelope-to: geh-help-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 1nAG18-0009ls-0c for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 19:49:10 +0100 Original-Received: from localhost ([::1]:58044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAG16-0000ul-Hl for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 13:49:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37362) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAFuG-0000sk-37 for help-gnu-emacs@gnu.org; Wed, 19 Jan 2022 13:42:08 -0500 Original-Received: from mout.kundenserver.de ([212.227.126.130]:59661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAFuE-0004Iw-GT for help-gnu-emacs@gnu.org; Wed, 19 Jan 2022 13:42:03 -0500 Original-Received: from ping ([92.116.164.162]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1Mc1hn-1maugi3aGt-00daF4; Wed, 19 Jan 2022 19:41:59 +0100 In-Reply-To: <87y23bd9oh.fsf@web.de> (Michael Heerdegen's message of "Wed, 19 Jan 2022 16:31:10 +0100") X-Provags-ID: V03:K1:aTAhhE164APDcqLq2bSzkHnPyqLHJ38ObnJ7YQgbpqnkNYyxSS8 dMcVQzOL12xM9tmTueOE2rR1ep3jIog9EWXy/gHSS7ofAq+pc1mslrHgNbjfUt+mCSic+at mUfuXzLphj/SzhiFQ9tvSarNNQowTxS42i9o8NNXFq4UCNOjq4FaMQFHyG0CrTA2sQ85YF7 Nt8WH/eWfmXZBk/t1APew== X-UI-Out-Filterresults: notjunk:1;V03:K0:+tOXD6RRSn0=:1VV07YO3woj1ZLWHtuLfUR 3O7Ady9Cf0ED2gZnGeJe/gAob3RD0Mrv1/3daimYbe2Ir4y6ljrDjRoojfiwTDHBPnEqbs23d 4SC/6vx9DL58rFORrtnlX4YBcp52fl5aDjLRJ44DkjR1c5Tgz55rFRfGWoO/Yojvtje5FP26B vrzvfTeIAfA+IHzf1vccuqKsYHAbhtDTlyERQ1DICrpdP8r5lQmoBhC2sd7jZBN+b64xZtszS aegd75rtqfQQZElOQibjDsYrjdvYCkK0hyqWM5kqBZejY4vKw5YTrO0W+jmQ2rabY3bvsp7P8 KSNwhs2a1O0CqRmWIxR61NbPjv9fe8LehUH17d56VeQ6VQx4SI/BlDk3BqZmR/7lFttGCQwHA 61Lckpq4D9Gehlfc2FRdt4fDd8ccw79zLht2KEIrfPljwTS+zhbZoIOP17/s6vS34GuaVbzuU NwjzAJmNPNJxY9P+AV510JG5+wFg4ffU4Njj3m+qfaULFNijzJrC3xp5+5DA2NUibtD6C49p2 p+S0yQtZktYbA8FTyzrJnZZ0dtqho+5i7I5+kEfJKO4kOlg/6UzCJsfCsCScd5Y+WoCqBsJqI 2LXpVWZuAKQDAeUh0bLsHDp3rmogPqwBB8X6lZvuDqr9fRWDFodrPjzPFiCN3KpT4j36L8Wxq yWhzJuvyzSDghycPvzXpB6I/ti9iGM7G+AqJgxR8MHtWDgSPwnPfivPCundxr8nPRXQf04MwI Vwip5zhlk7kHsxBZ Received-SPF: none client-ip=212.227.126.130; envelope-from=dieter@duenenhof-wilhelm.de; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:135450 Archived-At: Michael Heerdegen writes: > fatiparty--- via Users list for the GNU Emacs text editor > writes: > >> I would like to construct an elisp function that performs numeric >> computations and outputs the result. > > Unless this is just for learning: have a look at M-x quick-calc. > Requires to specify the input at a prompt. But it offers much > more than Elisp's mathematical functions. Yeah, Calc is one of the killer features of Emacs. https://www.gnu.org/software/emacs/refcards/pdf/calccard.pdf Dieter -- Best wishes H. Dieter Wilhelm Zwingenberg, Germany