# Revision history [back]

### Bug or desired behavior of eval?

I am fairly certain this is a bug, but I wanted to ask here before reporting it on trac. I understand that when we enter something in sage, like

sage: 5/3
5/3


>>> 5/3
1.6666666666666667


However, eval in sage seems to be rounding down:

sage: eval('5/3')
1


Where I would expect it to return 5/3 again, or at the very least 1.6666666666666667 (if eval ran through python first and had already returned 1.6666666666666667). The standard eval in python does return 1.6666666666666667.

 2 retagged tmonteil 23043 ●25 ●165 ●421 http://wiki.sagemath.o...

### Bug or desired behavior of eval?

I am fairly certain this is a bug, but I wanted to ask here before reporting it on trac. I understand that when we enter something in sage, like

sage: 5/3
5/3


>>> 5/3

sage: eval('5/3')