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. 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.