Re: [sage-support] Unexpected behaviour with symbolic complex numbers

2010-01-17 Thread Burcin Erocal
On Sun, 17 Jan 2010 11:52:30 +0100 Rafael Fourquet wrote: > I find the following counter-intuitive: > > sage: i^2 > -1 > sage: a = (1-i) * x ; a > -(I + 1)*x > sage: a.coeff(x,1) > -I + 1 > > Is this a bug? > It made me make an error in the subject of an exam I wrote. This is #7876 on trac: h

[sage-support] Unexpected behaviour with symbolic complex numbers

2010-01-17 Thread Rafael Fourquet
I find the following counter-intuitive: sage: i^2 -1 sage: a = (1-i) * x ; a -(I + 1)*x sage: a.coeff(x,1) -I + 1 Is this a bug? It made me make an error in the subject of an exam I wrote. Thanks, Rafaël -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from t

[sage-support] Unexpected behaviour with symbolic complex numbers

2010-01-17 Thread rafaelf
I find the following counter-intuitive: sage: i^2 -1 sage: a = (1-i) * x ; a -(I + 1)*x sage: a.coeff(x,1) -I + 1 Is this a bug? It made me make an error in the subject of an exam I wrote. Thanks, Rafaël -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from t