On Saturday, September 17, 2016 at 1:48:14 PM UTC+2, vdelecroix wrote:
>
> Is there anything reliable about __nonzero__ for expressions? 
>

Define expression. For any type there is likely a performance tradeoff.

sage: (sin(1 + 2^-100) == sin(1)).test_relation(domain=CIF) 
NotImplemented 
sage: (sin(1 + 2^-100) == sin(1)).test_relation(domain=ComplexIntervalField(
200)) 
False 
sage: (sin(1 + 2^-200) == sin(1)).test_relation(domain=ComplexIntervalField(
200)) 
NotImplemented

 

-- 
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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to