GNU bug report logs - #4031
calc simplification problem

Previous Next

Package: emacs;

Reported by: Colin Williams <lackita <at> gmail.com>

Date: Tue, 4 Aug 2009 14:35:05 UTC

Severity: normal

Done: Jay Belanger <jay.p.belanger <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4031 in the body.
You can then email your comments to 4031 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4031; Package emacs. (Tue, 04 Aug 2009 14:35:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Colin Williams <lackita <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Tue, 04 Aug 2009 14:35:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Colin Williams <lackita <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: calc simplification problem
Date: Tue, 4 Aug 2009 10:28:58 -0400
In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
"cos(x)^2 sec(x)", which contradicts an example in the tutorial on
rewrite rules.

Colin




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4031; Package emacs. (Wed, 05 Aug 2009 00:50:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to jay.p.belanger <at> gmail.com:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 05 Aug 2009 00:50:11 GMT) Full text and rfc822 format available.

Message #10 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jay Belanger <jay.p.belanger <at> gmail.com>
To: Colin Williams <lackita <at> gmail.com>
Cc: 4031 <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
Subject: Re: bug#4031: calc simplification problem
Date: Tue, 04 Aug 2009 19:44:52 -0500
Colin Williams <lackita <at> gmail.com> writes:

> In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
> "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
> rewrite rules.

So it does.  Calc needs to simplify expressions with secant (and
cosecant and cotangent) better.  I'll be out of town for the next week;
I'll fix it as soon as I get back.

Jay




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4031; Package emacs. (Wed, 05 Aug 2009 00:50:21 GMT) Full text and rfc822 format available.

Acknowledgement sent to jay.p.belanger <at> gmail.com:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 05 Aug 2009 00:50:22 GMT) Full text and rfc822 format available.

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4031; Package emacs. (Sat, 24 Oct 2009 19:35:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Chong Yidong <cyd <at> stupidchicken.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 24 Oct 2009 19:35:05 GMT) Full text and rfc822 format available.

Message #20 received at 4031 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Jay Belanger <jay.p.belanger <at> gmail.com>
Cc: Colin Williams <lackita <at> gmail.com>, 4031 <at> debbugs.gnu.org
Subject: Re: bug#4031: calc simplification problem
Date: Sat, 24 Oct 2009 15:27:55 -0400
Jay Belanger <jay.p.belanger <at> gmail.com> wrote:

> > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
> > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
> > rewrite rules.

> So it does.  Calc needs to simplify expressions with secant (and
> cosecant and cotangent) better.  I'll be out of town for the next week;
> I'll fix it as soon as I get back.

Hi Jay,

Did you get around to fixing this?  If so, this bug should be closed.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4031; Package emacs. (Sat, 24 Oct 2009 20:55:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to jay.p.belanger <at> gmail.com:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 24 Oct 2009 20:55:06 GMT) Full text and rfc822 format available.

Message #25 received at 4031 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jay Belanger <jay.p.belanger <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: Colin Williams <lackita <at> gmail.com>, 4031 <at> debbugs.gnu.org
Subject: Re: bug#4031: calc simplification problem
Date: Sat, 24 Oct 2009 15:47:11 -0500
Chong Yidong <cyd <at> stupidchicken.com> writes:
...
>> > In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
>> > "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
>> > rewrite rules.
...
> Hi Jay,
>
> Did you get around to fixing this?

Yes.

> If so, this bug should be closed.

Sorry; I'll take care of it now.

Jay



Reply sent to jay.p.belanger <at> gmail.com:
You have taken responsibility. (Sat, 24 Oct 2009 21:05:05 GMT) Full text and rfc822 format available.

Notification sent to Colin Williams <lackita <at> gmail.com>:
bug acknowledged by developer. (Sat, 24 Oct 2009 21:05:06 GMT) Full text and rfc822 format available.

Message #30 received at 4031-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jay Belanger <jay.p.belanger <at> gmail.com>
To: 4031-done <at> debbugs.gnu.org
Cc: jay.p.belanger <at> gmail.com
Subject: Re: calc simplification problem
Date: Sat, 24 Oct 2009 15:58:10 -0500
> In calc, doing `a s' simplifies "(1 + cos(x)^2 - 1) / cos(x)" to
> "cos(x)^2 sec(x)", which contradicts an example in the tutorial on
> rewrite rules.

The simplification rules were adjusted, and the example was changed to
match the rules.



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 22 Nov 2009 15:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.