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)



_______________________________________________
Axiom-developer mailing list
Axiom-developer@nongnu.org
http://lists.nongnu.org/mailman/listinfo/axiom-developer

Reply via email to