On Mon, Dec 21, 2015 at 8:53 AM, Volker Braun <vbraun.n...@gmail.com> wrote:

> On Monday, December 21, 2015 at 5:43:29 PM UTC+1, John Cremona wrote:
>>
>> Of course it does but no mathematician would ever write that in notation
>> as ~x.
>>
>
> Its still a minor optimization (avoids coercion in 1/x), so I'm not so
> sure that nobody ever used it.
>

I use the ~ notation, both in library code I write and when working with
Sage.


> In any case, if you are serious about binary operations then the next
> question is going to be: why is ^ not bitwise xor like for Python ints.
>

Indeed.
David


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

Reply via email to