(1) -> conjugate(x)*%i
_
(1) %ix
Type: Expression(Complex(Integer))
(2) -> conjugate(x)*conjugate(y)
__
(2) xy
Type: Expression(Integer)
(3) -> conjugate(xy)
__
(3) xy
Type: Expression(Integer)
There should be a space, (2) and (3) should not display the same.
--- a/src/interp/i-output.boot
+++ b/src/interp/i-output.boot
@@ -408,7 +408,8 @@
d:= APP(BLANK,x,y,d)
x:= x+1
[d,x]:= appInfixArg(arg,x,y,d,rightPrec,"left",nil) --app in a right arg
- wasSimple:= atom arg and not NUMBERP arg or isRationalNumber arg
+ wasSimple:= atom arg and not NUMBERP arg or isRationalNumber arg or
+ keyp arg = "OVERBAR"
wasQuotient:= isQuotient op
wasNumber:= NUMBERP arg
lastOp := op
@@ -503,7 +504,8 @@
needStar(wasSimple,wasQuotient,wasNumber,cur,op) ==
wasNumber or wasQuotient or isQuotient op => true
wasSimple =>
- atom cur or keyp cur="SUB" or isRationalNumber cur or op="**" or
+ atom cur or keyp cur = "SUB" or keyp cur = "OVERBAR" or
+ isRationalNumber cur or op="**" or
op = "^" or (atom op and not NUMBERP op and not GETL(op,"APP"))
isQuotient op ==
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.