On Wed, Sep 17, 2008 at 5:13 AM, Waldek Hebisch wrote: > > Bill Page wrote: >> >> At the wiki web page: >> >> http://axiom-wiki.newsynthesis.org/SandBoxUnparse >> >> it shows this error: >> >> Break. >> Broken at FUNCALL. Type :H for Help. >> BOOT>> >> >> System error: >> The variable QUIT is unbound. >> > > I see, we need correction: replace the line 'isBinaryInfix op => BREAK()' > in appOrParen by > > (op = "-" or op = '"-") and #argl = 1 => > concat('"(", '"-", appOrParen(first argl), '")") > > BREAK was a misguided attempt to catch infinite recursion due to > unhandled cases, and the code did not handle unary minus. >
Thanks. I applied this change and the result is much better, but the result of 'unparse' followed by 'parse' does not yield the same result. Parenthesis are missing around the numerator and denominator of the following expression: (8) "4*tan(1/2)^2*cos(x+1)*sin(x+1)+-2*tan(1/2)^3+2*tan(1/2)*cos(x+1 )^2+x*tan(1/2 )^4+2*x*tan(1/2)^2+x/tan(1/2)^4+2*tan(1/2)^2+1" Regards, Bill Page. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "FriCAS - computer algebra system" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/fricas-devel?hl=en -~----------~----~----~----~------~----~------~--~---
