Discussion:
Calc; m d does not work
(too old to reply)
Mustafa Kocaturk
2018-05-16 12:34:12 UTC
Permalink
Please describe exactly what actions triggered the bug and the
precise symptoms of the bug. If possible, include a backtrace by
doing `\[toggle-debug-on-error]', then reproducing the bug.

Even when in Deg mode, one has to use algebraic entry with unit of deg,
as follows:

m d
60 ==> 60
C ==> cos -952.412980415e-3
alg' 60 * deg ==> cos 500.000000006e-3

Note the inexact result, which suggests there is internal conversion and
rounding error. The result should be exact, 0.5.
Moreover, the log should include which mode was in effect.

Emacs : GNU Emacs 27.0.50 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G19009))
of 2018-04-05
Package: Calc
Van L
2018-05-16 13:05:40 UTC
Permalink
Post by Mustafa Kocaturk
Even when in Deg mode, one has to use algebraic entry with unit of deg,
m d
60 ==> 60
C ==> cos -952.412980415e-3
alg' 60 * deg ==> cos 500.000000006e-3
Note the inexact result, which suggests there is internal conversion and
rounding error. The result should be exact, 0.5.
Moreover, the log should include which mode was in effect.
I think the place to report bug is to

bug-gnu-***@gnu.org
Andreas Schwab
2018-05-16 13:08:44 UTC
Permalink
Post by Mustafa Kocaturk
m d
60 ==> 60
C ==> cos -952.412980415e-3
When I do that I get 0.5, exactly.

Andreas.
--
Andreas Schwab, SUSE Labs, ***@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
Loading...