On Fri, 2011-02-11 at 09:20 +0000, David Kirkby wrote:
> On 10 February 2011 14:51, rjf <fate...@gmail.com> wrote:
> > in maxima, gcd(1/4,1/6)  is 1/12,  lcm is 1/2
> >
> > Since maxima immediately simplifies 2/1  to 2, there is no
> > distinction between gcd(2/1, ....)   and gcd(2, ...)
> 
> FWIW, I just noticed that Mathematica treats 2/1 as an integer and not
> as a rational.
> 
> In[1]:= Head[2]
> 
> Out[1]= Integer
> 
> In[2]:= Head[1/3]
> 
> Out[2]= Rational
> 
> In[3]:= Head[2/1]
> 
> Out[3]= Integer
> 
What does MMA do with gcd(2/1,4)


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