convert a gmpz to a gmpf in one call?

Richard Fateman fateman at cs.berkeley.edu
Fri Jan 27 00:18:24 CET 2006


I can answer my own question... I spotted this..
so I don't have to go through character strings...

void mpf_set_z (mpf_t rop, mpz_t op)


Richard Fateman wrote:

>
>
>
> currently I can convert the gmpz number to a character string and
> then convert the character string to a gmpf.
> This strikes me as -um- unfelicitous?
>
Sorry to waste your time!
RJF

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gmplib.org/list-archives/gmp-discuss/attachments/20060127/ef31caef/attachment.html


More information about the gmp-discuss mailing list