Hi

I've updated the docs to reflect the new intmax functions , heres what
I've added

-- Function: void mpz_set (mpz_t ROP, mpz_t OP)
 -- Function: void mpz_set_ui (mpz_t ROP, unsigned long int OP)
 -- Function: void mpz_set_si (mpz_t ROP, signed long int OP)
 -- Function: void mpz_set_ux (mpz_t ROP, uintmax_t OP)
 -- Function: void mpz_set_sx (mpz_t ROP, intmax_t OP)
 -- Function: void mpz_set_d (mpz_t ROP, double OP)
 -- Function: void mpz_set_q (mpz_t ROP, mpq_t OP)
 -- Function: void mpz_set_f (mpz_t ROP, mpf_t OP)
     Set the value of ROP from OP. Note the intmax versions are only
     available if you have intmax header file on your system.

     `mpz_set_d', `mpz_set_q' and `mpz_set_f' truncate OP to make it
an
     integer.


-- Function: void mpz_init_set (mpz_t ROP, mpz_t OP)
 -- Function: void mpz_init_set_ui (mpz_t ROP, unsigned long int OP)
 -- Function: void mpz_init_set_si (mpz_t ROP, signed long int OP)
 -- Function: void mpz_init_set_ux (mpz_t ROP, uintmax_t OP)
 -- Function: void mpz_init_set_sx (mpz_t ROP, intmax_t OP)
 -- Function: void mpz_init_set_d (mpz_t ROP, double OP)
     Initialize ROP with limb space and set the initial numeric value
     from OP. Note the intmax versions are only available if you have
     intmax header file on your system.



 -- Function: uintmax_t mpz_get_ux (mpz_t OP)
     Return the value of OP as an `uintmax_t'.

     If OP is too big to fit an `uintmax_t' then just the least
     significant bits that do fit are returned.  The sign of OP is
     ignored, only the absolute value is used. Note the intmax
versions
     are only available if you have intmax header file on your system.

 -- Function: intmax_t mpz_get_sx (mpz_t OP)
     If OP fits into a `intmax_t' return the value of OP.  Otherwise
     return the least significant part of OP, with the same sign as
OP.

     If OP is too big to fit in a `intmax_t', the returned result is
     probably not very useful.  Note the intmax versions are only
     available if you have intmax header file on your system.

I assume this fits with what you have done

Thanks
Jason

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

Reply via email to