# differences between .sage and .spyx in numerical evaluation

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

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?

Sorry for the confusion over getting your question approved - somehow you edited it before it was approved (first-time posts need approval to combat spam) and so the question was deleted and closed before ever being seen because it looked like there were duplicate posts. This is a very good question, actually.

Cross-posted at http://stackoverflow.com/questions/43...

@kcrisman : yes, the first time i posted the question it took hours for it to get approved (from stackoverflow i was used to higher speeds...), and i could no longer find any trace of it. so i re-posted, etc etc etc. sorry for the confusion. hope everything is correct now. and yes, after i could not find my question here i posted it over on stackoverflow...

No worries!