Karim BELABAS on Fri, 7 Feb 2003 01:06:03 +0100 (MET)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: gp: (x/y)*(y/x) not simplify


On Wed, 5 Feb 2003, Michael Somos wrote:
> ? (x/y)*(y/x)
> %1 = y/y
>
> seems like it should be reduced to lowest terms. Shalom, Michael

Forgotten case in mulscalrfrac() [ multiplying a scalar by a rational
function can completely cancel the denominator... ]

Fixed.

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathématiques, Bât. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas/
--
PARI/GP Home Page: http://www.parigp-home.de/