On Thu, 10 Dec 2009 14:37:50 -0800 (PST)
Simon King <simon.k...@nuigalway.ie> wrote:

> On 10 Dez., 23:15, William Stein <wst...@gmail.com> wrote:
> [...]
> > __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ f := x < y
> >
> > > f*(-3)
> > > ;
> >
> > __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ -3 y < -3 x
> >
> > > f*z;
> >
> > __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ *(x < y, z)
> >
> > > f*a;
> >
> > __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ *(x < y, a)
> 
> What else could it be? Maple's answer seems quite reasonable to me.

I opened a ticket for this:

http://trac.sagemath.org/sage_trac/ticket/7660

Checking if the argument is a real number and inverting the relation if
it's negative, like Maple does, is a good option. I hope it doesn't
slow down the arithmetic with symbolic expressions too much tough.


Cheers,
Burcin

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to