unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Calc; calc-simplify-units not working as documented for trigometric functions
@ 2016-07-01 23:31 David Ongaro
  2016-07-03 13:35 ` H. Dieter Wilhelm
  0 siblings, 1 reply; 5+ messages in thread
From: David Ongaro @ 2016-07-01 23:31 UTC (permalink / raw)
  To: emacs-devel


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 HyperbolicFunctions".

The same applies for other trigonometric functions and for other values
of 45 or the 'deg' unit (i.e. 'rad or 'grad').



Emacs  : GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.5.0, NS appkit-1404.47 Version 10.11.5 (Build 15F34))
 of 2016-06-09
Package: Calc



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Calc; calc-simplify-units not working as documented for trigometric functions
  2016-07-01 23:31 Calc; calc-simplify-units not working as documented for trigometric functions David Ongaro
@ 2016-07-03 13:35 ` H. Dieter Wilhelm
  2016-07-03 13:53   ` Kaushal Modi
  2016-07-03 15:32   ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: H. Dieter Wilhelm @ 2016-07-03 13:35 UTC (permalink / raw)
  To: emacs-devel

David Ongaro <david.ongaro@hamburg.de> writes:

> In Calc do
>
> 'sin(45 deg)
> u s
>
> Result: 0.0137073546047
> Expected result: 0.707106781187

I'm confirming this bug on GNU Emacs 25.0.95.1
(x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-06-19

I'd like to issue a proper bug-report for it and I'd like to reference
David's mail in a reproducible way.  Could somebody please tell me first
how to reference a specific message from some (GNU) emacs-devel mailing
list archive (preferably with Gnus)?

> 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 HyperbolicFunctions".

Actually it is documented in (info "(calc) Trigonometric and Hyperbolic
Functions")

Thanks you

      Dieter


> The same applies for other trigonometric functions and for other values
> of 45 or the 'deg' unit (i.e. 'rad or 'grad').
>
>
>
> Emacs : GNU Emacs 25.0.94.1 (x86_64-apple-darwin15.5.0, NS
> appkit-1404.47 Version 10.11.5 (Build 15F34))
>  of 2016-06-09
> Package: Calc
>
>

-- 
Best wishes
H. Dieter Wilhelm
Kelkheim, Germany




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Calc; calc-simplify-units not working as documented for trigometric functions
  2016-07-03 13:35 ` H. Dieter Wilhelm
@ 2016-07-03 13:53   ` Kaushal Modi
  2016-07-03 15:32   ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Kaushal Modi @ 2016-07-03 13:53 UTC (permalink / raw)
  To: H. Dieter Wilhelm, emacs-devel

[-- Attachment #1: Type: text/plain, Size: 628 bytes --]

On Sun, Jul 3, 2016, 9:35 AM H. Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
wrote:

>
> I'd like to issue a proper bug-report for it and I'd like to reference
> David's mail in a reproducible way.  Could somebody please tell me first
> how to reference a specific message from some (GNU) emacs-devel mailing
> list archive (preferably with Gnus)?
>

Referencing to gmane links is one way to do it. I don't use Gnus, but I
have this bookmarked in my browser: http://news.gmane.org/gmane.emacs.devel

Below is the permalink to the above referenced email:

http://thread.gmane.org/gmane.emacs.devel/205066

> --

-- 
Kaushal Modi

[-- Attachment #2: Type: text/html, Size: 1457 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Calc; calc-simplify-units not working as documented for trigometric functions
  2016-07-03 13:35 ` H. Dieter Wilhelm
  2016-07-03 13:53   ` Kaushal Modi
@ 2016-07-03 15:32   ` Eli Zaretskii
  2016-07-03 17:52     ` H. Dieter Wilhelm
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2016-07-03 15:32 UTC (permalink / raw)
  To: H. Dieter Wilhelm; +Cc: emacs-devel

> From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm)
> Date: Sun, 03 Jul 2016 15:35:25 +0200
> 
> I'd like to issue a proper bug-report for it and I'd like to reference
> David's mail in a reproducible way.  Could somebody please tell me first
> how to reference a specific message from some (GNU) emacs-devel mailing
> list archive (preferably with Gnus)?

Our de-facto standard is like this:

  http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00050.html

Thanks.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Calc; calc-simplify-units not working as documented for trigometric functions
  2016-07-03 15:32   ` Eli Zaretskii
@ 2016-07-03 17:52     ` H. Dieter Wilhelm
  0 siblings, 0 replies; 5+ messages in thread
From: H. Dieter Wilhelm @ 2016-07-03 17:52 UTC (permalink / raw)
  To: emacs-devel

Eli Zaretskii <eliz@gnu.org> writes:

>> From: dieter@duenenhof-wilhelm.de (H. Dieter Wilhelm)
>> Date: Sun, 03 Jul 2016 15:35:25 +0200
>> 
>> I'd like to issue a proper bug-report for it and I'd like to reference
>> David's mail in a reproducible way.  Could somebody please tell me first
>> how to reference a specific message from some (GNU) emacs-devel mailing
>> list archive (preferably with Gnus)?
>
> Our de-facto standard is like this:
>
>   http://lists.gnu.org/archive/html/emacs-devel/2016-07/msg00050.html

I see, reported the bug... and made a bookmark for

 http://lists.gnu.org/archive/html/emacs-devel/

Thanks
-- 
Dieter
Best wishes
H. Dieter Wilhelm
Kelkheim, Germany




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-07-03 17:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01 23:31 Calc; calc-simplify-units not working as documented for trigometric functions David Ongaro
2016-07-03 13:35 ` H. Dieter Wilhelm
2016-07-03 13:53   ` Kaushal Modi
2016-07-03 15:32   ` Eli Zaretskii
2016-07-03 17:52     ` H. Dieter Wilhelm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).