On Monday 03 November 2008, eduardo wrote:
> * We can perhaps use mpz_t (from GMP) instead of long long. Then we
> need to know how can we input/ouput a variable of this type in Cython. Is
> there some documentation about that?

Hi there,

AFAIK there is no documentation as such but plenty of examples. Note, that 
Sage integers are basically mpz_t.

See sage.rings.integer.pyx for details. In particular there are C functions to 
get/set mpz_ts from/for Integers.

Cheers,
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 [email protected]
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