From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Newsgroups: gmane.emacs.bugs Subject: bug#23889: 25.0.95; Calc; calc-simplify-units not working as documented for trigometric functions Date: Sun, 03 Jul 2016 19:05:17 +0200 Message-ID: <87k2h2odo2.fsf@duenenhof-wilhelm.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467565590 16139 80.91.229.3 (3 Jul 2016 17:06:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jul 2016 17:06:30 +0000 (UTC) To: 23889@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 03 19:06:18 2016 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 1bJkqX-00023l-0o for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 19:06:17 +0200 Original-Received: from localhost ([::1]:43455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkqV-0003UR-FA for geb-bug-gnu-emacs@m.gmane.org; Sun, 03 Jul 2016 13:06:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkqN-0003Ix-71 for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 13:06:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJkqI-0008H3-Rk for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 13:06:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkqI-0008Gz-OM for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 13:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bJkqI-0002kE-Du for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 13:06:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Jul 2016 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23889 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.146756554510522 (code B ref -1); Sun, 03 Jul 2016 17:06:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jul 2016 17:05:45 +0000 Original-Received: from localhost ([127.0.0.1]:36130 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJkq0-0002je-NK for submit@debbugs.gnu.org; Sun, 03 Jul 2016 13:05:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52934) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJkpw-0002jP-HT for submit@debbugs.gnu.org; Sun, 03 Jul 2016 13:05:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJkpp-0008Fi-OC for submit@debbugs.gnu.org; Sun, 03 Jul 2016 13:05:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkpp-0008FU-HG for submit@debbugs.gnu.org; Sun, 03 Jul 2016 13:05:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkpm-0002RD-Kp for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 13:05:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJkpi-0008Cu-9U for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 13:05:29 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.74]:60240) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJkph-0008Cg-UM for bug-gnu-emacs@gnu.org; Sun, 03 Jul 2016 13:05:26 -0400 Original-Received: from urmel ([87.172.231.151]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LiUQe-1brzep1vVk-00cfbl for ; Sun, 03 Jul 2016 19:05:23 +0200 X-Provags-ID: V03:K0:lBrfeG+ZgzNG2fMZlYr3BVxwr65r4+3JSi0N5Rd0z+XlG8dKlLK 2GJvwmXPPK23LG9q1yVqQQYFHwiJEQq5hXeud1Ipmh8TS5r8LQ9b7s16SiZfRAxpn/Lh22X 3Qfb8kVLRaDyF5z+RiiezrxZ3uAamUJP9pv5/C5pBvc/iSIkHvZ2oJcY1BLw2RB+C9iNDmi Rt1Vb/j2jP2+j9Av1Gu1w== X-UI-Out-Filterresults: notjunk:1;V01:K0:68+1OpTq9Oc=:hbspor+jRBNqxVtKa7SBxs XSb5bOOLq1mrJqcDXEH8xpteATr3J3s0DeaWWIVEUekiGvYZFGhMRO3vL2GNGIHZgUr0mrZ98 3yXJNl27gxwjF9t2oM6bFoEwN4EsNUqQdxCw8ra7Xx+go2faFspev9AOGIyOFvD6tYEO7jYft 7JMx+w2gZjIxPLD4/07pETjcXD6OqetvP/4adQGhHOIAdT7YVPdNRda8fHVhhI6sY9Cy0s0AI WW99A9ddqtYwB+h1DZkgKybVX7tmsAdMHTjhjtgvTC2XQxiTKHI8IKuv93XUUHPhgKof/gK4o VMpHJ1sxIRUhWGrKw9abzKIhK6Fy7OZ22OuMxedm/GRwHpC3pOcD5h1urI0jWXK7bCRgTpSyG 2MEbtBsNDwlr2sAICZ0l3/SF2O4Q/z4wVTdQWvvjG/Y99AS5/J84wz+yGJrXwTdRwrnYDE59V UQeWL/Ite9UUF9Q8FXxruZUw7mqzPgi6slT03xrH0tiSh7Rd6rRdbhxQ1P/jLDEfm4dsImvXm NL1cDkCg54BgPwyfAWDfUNOtoazbQy+XsqmhLFZWXnQ7gR9yKdDY/82tXvfB/3k4X/HQCiu8d HXrQu7YczsVj7hkX0Kg7idft0+SInjVYk5Lc3JpeQib4x3qFlJksFbyE3/AT0ut6CAlRY4tuG +XcPj0K6kSxgLZUynNB9jrOO0T/kwxOiLhFcxFliXK8vKkOwSV59l34xX5Gn9bHeTr8Zy0vYp Xyu6wMvAOB33eBEl X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:120351 Archived-At: In Calc do 'sin(45 deg) u s Result: 0.0137073546047 Expected result: 0.707106781187 The actual result equals to sin(pi/4) in deg mode whereas the expected result of "the sine of 45 degrees" is the one documented in (info "(calc) Trigonometric and Hyperbolic Functions"). The same applies for other trigonometric functions and for other values of 45 or the 'deg' unit (i.e. 'rad or 'grad'). This was originally a bug report from David Ongaro in http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00050.html Thanks Dieter In GNU Emacs 25.0.95.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-06-19 built on urmel Windowing system distributor 'The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.5 (jessie) Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_GB.utf8 locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: show-paren-mode: t electric-pair-mode: t icomplete-mode: t global-hl-line-mode: t shell-dirtrack-mode: t display-time-mode: t auto-insert-mode: t server-mode: t minibuffer-depth-indicate-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: Mark set [12 times] Mark activated Mark set Auto-saving...done Contacting host: lists.gnu.org:80 Mark set [2 times] Mark saved where search started Mark set [2 times] Mark saved where search started mwheel-scroll: Beginning of buffer Load-path shadows: None found. Features: (shadow emacsbug shr-color color pp flow-fill eww url-queue qp shr dom debug calc-undo calc-help pulse xref project eieio-opt calc-units calc-math calc-arith calc-misc calccomp calc-aent calc-alg calc-menu nndoc debbugs-gnu add-log debbugs soap-client warnings rng-xsd rng-dt rng-util xsd-regexp canlock misearch multi-isearch bbdb-message mailalias sendmail flyspell ispell nnir sort smiley gnus-cite mail-extr gnus-async gnus-bcklg gnus-kill gnus-dup gnus-ml disp-table gnus-topic mm-archive url-http url-gw url-cache url-auth url-handlers nnrss xml mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util nndraft nnmh utf-7 nnmbox nnfolder time-stamp bbdb-gnus bbdb-mua epa-file epa derived network-stream nsm starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig mailcap nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums gmm-utils mailheader gnus-win gnus gnus-ems nnheader mail-utils wid-edit ffap url-parse url-vars paren elec-pair icomplete hl-line dired-x ob-maxima ob-latex ob-sh ob-calc calc-store calc-trail calc-ext ob-R ob-python ox-koma-letter ox-beamer ox-rss ox-taskjuggler ox-latex ox-icalendar ox-html ox-ascii ox-publish ox ido ess-toolbar ess-mouse mouseme thingatpt browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d ess-tracebug compile tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell ess-roxy advice hideshow ess-help reporter ess-developer ess-r-args ess-s-l speedbar sb-image ezimage dframe ess ess-inf ess-mode ess-noweb-mode edmacro kmacro ess-utils cl ess-custom executable ess-compat ess-site org-mobile org-agenda calc calc-loaddefs calc-macs auth-source cl-seq eieio eieio-core cl-macs mm-util help-fns mail-prsvr password-cache view cal-china lunar solar cal-dst cal-bahai cal-islam cal-hebrew holidays hol-loaddefs appt diary-lib diary-loaddefs battery time bbdb-print bbdb-com crm mailabbrev bbdb bbdb-site timezone bbdb-loaddefs org-element org-rmail org-mhe org-irc org-info org-gnus gnus-util org-docview doc-view subr-x jka-compr image-mode dired org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint comint ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs autoinsert server mb-depth finder-inf info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 821555 68008) (symbols 48 62134 0) (miscs 40 8505 2890) (strings 32 156791 19382) (string-bytes 1 4740983) (vectors 16 70983) (vector-slots 8 1215228 38104) (floats 8 1492 549) (intervals 56 11764 1170) (buffers 976 55) (heap 1024 98278 29923)) -- Best wishes H. Dieter Wilhelm Kelkheim, Germany