[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#33052: 26.1; Emacs Calc Problem with sec and related trig functions
From: |
Lars Ingebrigtsen |
Subject: |
bug#33052: 26.1; Emacs Calc Problem with sec and related trig functions |
Date: |
Wed, 10 Jul 2019 16:20:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Pierce Wang <pierce.g.wang@gmail.com> writes:
> Trying to evaluate "sec(pi/4)" in Calc's algebraic mode returns a "Wrong
> type argument" instead of returning "sec( pi / 4 )" in the Calc as it
> should. This bug is replicated with any number n (for sec(pi/n)) where n != 1.
>
> Recipe from emacs -Q:
> C-x * *
> m r
> 'sec(pi/4)
I spent half an hour trying to debug this, but the Calc code is a
mystery to me, with everything happening... somewhere else, and
functions that don't take inputs but getting stuff from the
environment. Or perhaps I just don't understand the approach, which is
pretty likely.
Does anybody else know how to debug things in Calc these days?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#33052: 26.1; Emacs Calc Problem with sec and related trig functions,
Lars Ingebrigtsen <=