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

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).