Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Error in false statement

I write in SAGE the following sentences

p=0+0*I

q=1/2+1/2*I

r=3/4+1/3*I

(real(p)==real(q))==false

As 0 is not equal to 1/2, this statement must be true, but SAGE says false. Why?