1 | initial version |
It looks like sqrt
in .spyx
mode is c sqrt
and not sage sqrt
.
%cython
from sage.functions.other import sqrt as Sqrt
a = 1/Sqrt(2)
print a
output:
1/2*sqrt(2)
2 | No.2 Revision |
It looks like sqrt
in .spyx
mode is c sqrt
and not sage sqrt
.
%cython
from sage.functions.other import sqrt as Sqrt
a = print 1/Sqrt(2)
print a
1/sqrt(2)
output:
1/2*sqrt(2)
0.707106781187