On Wednesday, October 31, 2012 10:01:01 AM UTC-7, kcrisman wrote:
>
>
>
> On Wednesday, October 31, 2012 11:47:20 AM UTC-4, mmarco wrote:
>>
>> My view: since this was revealed to my as a problem by a professor in 
>> my university, who had problems runnning in class something like this: 
>>
>> for i in range(10): 
>>     print cos(i).n() 
>>
>> i think that the result should be, at least, something that has 
>> the .n() procedure implemented. That is: Integer seems like a good 
>>
>
> Both symbolic expressions and Sage integers have this :)
>

Note also that using n(cos(i)) instead of cos(i).n() would have worked even 
on an int. But I agree that we shouldn't be returning an int here.

-- 
John

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To post to this group, send email to sage-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-devel+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.


Reply via email to