Its just behaving as specified, False means "cannot decide"

sage: bool(cos(x) < sin(x))
False
sage: bool(sin(x) < cos(x))
False

Arguably it should raise, though that is possibly only legal in Python 3


On Saturday, May 9, 2015 at 3:19:56 PM UTC+2, Nathann Cohen wrote:
>
> > sage: max(sin(x),cos(x)) 
> > sin(x) 
>
> If somebody wonders: 
>
> sage: max(cos(x),sin(x)) 
> cos(x) 
>
> Nathann 
>

-- 
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