On 10/06/2018 10:51, Marc Mezzarobba wrote:
Travis Scrimshaw wrote:
I agree that having x^-1 and 1/x being different is confusing. I will
update the branch at #25524 to make them identically return a
rational fraction.
I think this is even worse than the confusion.
I agree with that.
Mee too :-) In the branch at #25524 I like the WYSIWYG
sage: L.<q> = LaurentPolynomialRing(QQ)
sage: 1/q
1/q
sage: q^-1
q^-1
But we have to agree that q^-1 has no reason to be equivalent to 1/q.
Though, close to what Nils talked about, there is no straight
method for "internal division or raise error".
I thought inverse_of_unit() did this?
Only in the case of 1/b, not for general a/b...
Exactly.
Vincent
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.