[Pyrex] Integer exponentiation returns a double

didier deshommes dfdeshom at gmail.com
Tue Feb 20 21:47:25 UTC 2007


Hi all,
I am forwarding this message from the sage-devel mailing list. Robert
Bradshaw found that when a and b are cdef'ed as integers, the result
of a**b is a double. You can see a small example here:
http://sage.math.washington.edu:9001/days3/sprints/sagex

didier

---------- Forwarded message ----------
http://sage.math.washington.edu:9001/days3/sprints/sagex

On Feb 20, 2007, at 11:34 AM, Robert Bradshaw wrote:

> Good idea.
>
> On Feb 20, 2007, at 11:30 AM, Nick Alexander wrote:
>
>> On Feb 20, 10:59 am, Robert Bradshaw <rober... at math.washington.edu>
>> wrote:
>>> Last night we discovered a really bad bug in SageX when doing a**b
>>> (with a, b cdef'ed). Also, I've been thinking about optimizing list
>>> indexing (e.g. a[i] for a a tuple or list). I have to admit that I
>>> haven't yet looked into either of these, but if anyone wants to see
>>> "SageX bug-fixing in action" let me know and I'd be happy to explain
>>> what I'm doing.
>>
>> Perhaps a small Wiki page is in order?
>>
>> Nick
>>
>>
>>
>
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel at googlegroups.com
To unsubscribe from this group, send email to
sage-devel-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---



More information about the Pyrex mailing list