the question seems very basic, i'm sorry but i could not find an answer in the documentation.
the content of both files test.sage
and test.sage
is identical; it's just
a = 1/sqrt(2)
print a
if i run test.sage
and with
$ sage test.sage
i get
1/2*sqrt(2)
but the outcome is different from if i run the file test.spyx
with
$ sage test.spyx
where i get
Compiling test.spyx...
0.707106781187
how can i prevent sage from numerically evaluating $1/\sqrt(2)$ in .spyx
mode?
(i hope i did not post this twice... i can find no trace of the first post)