3 ms·
I speculate that ^ is used for xor in many languages for psychological compatibility with C, which is a very old language. In SageMath, which uses a lightweigh
by williamstein 6y ago
I speculate that ^ is used for xor in many languages for psychological compatibility with C, which is a very old language.
In SageMath, which uses a lightweight preparser on top of Python, I made it automatically convert ^ to , since otherwise mathematicians, who are used to LaTeX, would be very confused (I remember realizing this during a tutorial at Pycon in 2005).