login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for #278 'simplifyLog' cannot cope with 'sqrt' revision 2 of 7

1 2 3 4 5 6 7
Editor: kratt6
Time: 2007/12/20 01:50:37 GMT-8
Note: fixed in FriCAS

added:

From kratt6 Thu Dec 20 01:50:37 -0800 2007
From: kratt6
Date: Thu, 20 Dec 2007 01:50:37 -0800
Subject: fixed in FriCAS
Message-ID: <20071220015037-0800@axiom-wiki.newsynthesis.org>

Category: Axiom Interpreter => Axiom Library 
Status: open => fix proposed 


Submitted by : (unknown) at: 2007-11-17T22:20:15-08:00 (17 years ago)
Name :
Axiom Version :
Category : Severity : Status :
Optional subject :  
Optional comment :

axiom
simplifyLog(2*sqrt(2)*log(2))
LatexWiki Image(1)
Type: Expression Integer

It's perhaps the line for i in 1..#terms repeat in manip.spad file and simplifyLog1 function to change in for i in #term..1 by -1 repeat because there is a delete!(terms,i) in the loop.

It's perhaps necessary to add exprs := reverse! exprs at the end of the loop, if we want to remain the order of the terms.

FMy?.

fixed in FriCAS? --kratt6, Thu, 20 Dec 2007 01:50:37 -0800 reply
Category: Axiom Interpreter => Axiom Library Status: open => fix proposed