On Wednesday, September 23, 2015 at 11:14:32 PM UTC+2, William wrote: > ex.is_zero(simplify=False) > ex.is_zero(simplify=True)
Most consistent. Why didn't I think of this. On Wednesday, September 23, 2015 at 10:08:52 PM UTC+2, Michael Orlitzky wrote: > > Doesn't `bool(x == y)` already try to simplify `x - y` to zero? > At the moment yes. But it is also invoked when people want to compare objects and write if (ex!=0). See example confusion at http://trac.sagemath.org/ticket/18979 -- 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.