On 3 June 2016 at 15:25, William Stein <wst...@gmail.com> wrote: > > > On Friday, June 3, 2016, Samuel Lelievre <samuel.lelie...@gmail.com> wrote: >> >> >> >> Le jeudi 2 juin 2016 22:33:45 UTC+2, Volker Braun a écrit : >>> >>> I'm guessing that this won't fly with upstream ;-) >>> >>> Is it really faster? A new __unary_div__ method everywhere? Is it really >>> faster than special-casing the 1/x case in __div__? >> >> >> By analogy to __neg__ the new unary method >> might be called __inv__ and I support the idea >> of having /x for the inverse just like we have >> -x for the negative. >> >> We don't want to have to write 0-x, >> neither should we have to write 1/x. > > > > In mathematics how do you write the negative of x? > > In mathematics how do you write the inverse of x?
Excellent questions, and very pertinent. When I was 11 I was very excited to discover that x^-1 meant 1/x and it took me a while before I realised that x^-2 did not mean 2/x. Well, I was only 11 (and we had just been given the axioms for a field ;)) John > >> >> >> Samuel >> >> -- >> 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. > > > > -- > Sent from my massive iPhone 6 plus. > > -- > 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. -- 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.