GNU bug report logs -
#33052
26.1; Emacs Calc Problem with sec and related trig functions
Previous Next
Reported by: Pierce Wang <pierce.g.wang <at> gmail.com>
Date: Mon, 15 Oct 2018 19:48:01 UTC
Severity: normal
Tags: confirmed
Found in version 26.1
Done: Mattias EngdegÄrd <mattiase <at> acm.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Pierce Wang <pierce.g.wang <at> 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
This bug report was last modified 5 years and 318 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.