>> 4.7.2.alpha4, 4.8.alpha3: >> >> sage: five = Integers(7).list()[5]; five >> 5 >> sage: five.parent() >> Ring of integers modulo 7 >> sage: gcd(Integer(five), Integer(7)) >> 1 >> sage: gcd(five, 7) >> 5 >> > > I like the new behavior better. It's coercing to the common parent, then > giving a useful gcd (5) instead of a useless ones (1).
But in no parent is the gcd of 5 and 7 equal to 5.... David -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
