Hi

How can I do exact comparison of numbers in AA?
I noticed that this doesn't work very reliably:

el1 = AA((x^4 - 2238072*x^2 + 44133904).roots()[1][0])
el2 = (791264*AA(2*cos(pi/8))^2 - 463492).sqrt()
el1 == el2

^- This fails for me (resp. never stops)
[el1-el2 gives "0.?e-15"]


Best
    Jonas

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to