From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bart Nielsen Newsgroups: gmane.emacs.bugs Subject: bug#16706: emacs 24.3.1; calc/A command Date: Mon, 10 Feb 2014 06:15:07 -0500 Message-ID: <1F934FE7-2092-4CDE-BAB6-14A81104CD47@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1392030975 27124 80.91.229.3 (10 Feb 2014 11:16:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 11:16:15 +0000 (UTC) To: 16706@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 12:16:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCoqX-00028B-Vc for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 12:16:18 +0100 Original-Received: from localhost ([::1]:55009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCoqX-0004QO-2u for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 06:16:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCoqO-0004Px-4M for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:16:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCoqI-0006QJ-OL for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:16:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCoqI-0006QF-KS for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCoqI-0007Qs-9x for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Bart Nielsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 11:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139203094028528 (code B ref -1); Mon, 10 Feb 2014 11:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Feb 2014 11:15:40 +0000 Original-Received: from localhost ([127.0.0.1]:39234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCopu-0007Q3-7c for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:38 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57944) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCopr-0007Pn-Pj for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCope-0006Kn-WE for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:30 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41001) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCope-0006Ki-Sr for submit@debbugs.gnu.org; Mon, 10 Feb 2014 06:15:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59626) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCopZ-0004NV-F4 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:15:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCopR-0006Il-EF for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:15:17 -0500 Original-Received: from mail-qc0-x22d.google.com ([2607:f8b0:400d:c01::22d]:44257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCopR-0006Ib-8a for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 06:15:09 -0500 Original-Received: by mail-qc0-f173.google.com with SMTP id i8so10345679qcq.32 for ; Mon, 10 Feb 2014 03:15:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=S0JXzhtehoyCSh8qOn3yNDHoqmoK3o2qrlmPThH4XQo=; b=C7YSBWKNkeASGxWcQu7nlawtSpEiOXeeGxdYGjYYrwvpqiNWeIg3Hj64pE9Dc7gdHT IIOM6IA+oLIWJwYaebxAZiFsD0wBH97UTsyE3rzlSzTZQK0iO3k673TOLnwvRqU+y4W3 w5DFVA5yyWQmk0rnA3plunMU0xIqo5p4WuOvu7XSfA2ErE0LTQ52Oo+MWI0pQ9llduGh vk5V3bFEzBN8RTn/77b9od+zGr+5uWeNhbOeiQ2K4GvAu91tBFGppm4i84N2TEvkiYPJ SvcmFRcpMwhPBrc8+ehK+PSvJQMlPDr/m3D1+9wIyZX43s9YptIWBQS8N/JM4ohG/DVi n9Aw== X-Received: by 10.140.100.240 with SMTP id s103mr43265083qge.38.1392030908468; Mon, 10 Feb 2014 03:15:08 -0800 (PST) Original-Received: from bmac.home (pool-108-40-70-203.bltmmd.fios.verizon.net. [108.40.70.203]) by mx.google.com with ESMTPSA id a5sm41912922qae.2.2014.02.10.03.15.06 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Feb 2014 03:15:07 -0800 (PST) X-Mailer: Apple Mail (2.1827) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85258 Archived-At: calc - single variable statistics tells me: Another commonly used mean, the RMS (root-mean-square), can be computed for a vector of numbers simply by using the `A' command. So: I believe the RMS value for the vector [21 23 25 25] is 23.5584379788. = (RMS means =91the root, of the mean, of the square =97 so=20 vM* uM Q (returns that value) A returns 47.1168759576 q1: How do I figure out what A is doing? q2: Isn=92t this wrong? Thanks =3D=3D=3D=3D=3D Here=92s the standard form for an error report: (the above just seemed = cleaner. Maybe not.) 23.5584379788 =20 his bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': M-x calc '[ 21 23 25 25 ] vM* uM Q '[21 23 25 25 ] A leaves 2: 23.5584379788 1: 47.1168759576 on the stack. Shouldn't A return 23.5584379788? If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /usr/local/Cellar/emacs/24.3/share/emacs/24.3/etc/DEBUG. In GNU Emacs 24.3.1 (x86_64-apple-darwin13.0.0) of 2014-01-24 on bmac.home Configured using: `configure '--prefix=3D/usr/local/Cellar/emacs/24.3' '--without-dbus' '--enable-locallisppath=3D/usr/local/share/emacs/site-lisp' '--infodir=3D/usr/local/Cellar/emacs/24.3/share/info/emacs' '--without-gnutls' '--without-x' 'CC=3Dclang'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Info Minor modes in effect: display-time-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: " H SPC DEL DEL DEL DEL DEL DEL SPC - SPC C a l c SPC V e c t o r SPC M e d i a n " C-e C-@ - - - SPC s o r t SPC DEL , SPC a v e r g DEL a g e SPC t h e SPC m i d d l e DEL DEL DEL l DEL d l e C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-@ - SPC a r i t h m e t i c SPC m e a n ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A C-x o ESC x c a l c RET ' 2 1 * 2 1 SPC + SPC 2 3 * 2 3 SPC + SPC 2 5 * 2 5 * 2 C-a ( s DEL DEL s q r t ( ( C-e ) / 4 ) RET C-y A C-h a C-g C-h k A C-x o C-x o a A DEL C-x o C-x o SPC - - - SPC n o , SPC i t ' DEL SPC o u g h t SPC t o SPC b e SPC 2 3 . 5 5 8 4 C-x o C-x o C-x o C-h C-g ' Y DEL C-y C-a C-d C-d C-d C-d C-e RET RET v M * u + S U C-h k S C-g C-x o C-x o ' s q r t ( C-g 4 / L 2 / E C-x o C-x o C-x o C-x o C-s A ESC x r e p o r t SPC e m a c s SPC b SPC RET Recent messages: Working... Map: (Press ? for help): Working... [3 times] Undo! Quit Auto-saving...done Quit Working... [4 times] Mark saved where search started Load-path shadows: /usr/local/share/emacs/site-lisp/gnuplot hides = /usr/local/share/emacs/site-lisp/gnuplot-2012-11-04/gnuplot /usr/local/share/emacs/site-lisp/gnuplot-gui hides = /usr/local/share/emacs/site-lisp/gnuplot-2012-11-04/gnuplot-gui Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils help-fns help-mode apropos calc-forms calc-frac calc-mode calc-math calc-arith calc-units calc-misc jka-compr info tool-bar calc-undo calc-map calc-stat calccomp calc-alg calc-vec calc-aent calc-menu easymenu calc-yank calc-ext calc calc-loaddefs calc-macs misearch multi-isearch time-date edmacro kmacro time image ediff-hook vc-hooks lisp-float-type tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)