On Thursday 29 May 2008, Carl Witty wrote:
> cdef unsigned int low = gmp_urandomb_ui(rstate.gmp_state, 32)
> cdef unsigned int high = gmp_urandomb_ui(rstate.gmp_state, 32)
> cdef unsigned long long combined = ((<unsigned long long>high)<<32)|
> (<unsigned long long>low)
> values[j] = combined

Doh!

http://trac.sagemath.org/sage_trac/ticket/3333

Thanks for tracking that down.

Martin

-- 
name: Martin Albrecht
_pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99
_www: http://www.informatik.uni-bremen.de/~malb
_jab: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to