On 30/01/2013 19:42, Mj Michaels wrote: > Hi Brian - Things were going pretty well for me, but I just discovered a > problem. I need to be able to serialize an mpz_t value and pass it > between platforms where the size of limbs is not the same. For example, > I need to take a byte stream representing a serialized mpz_t with 64-bit > words, and read it on win32 into an mpz_t that is 32 bit words. Am I > out of luck? I was hoping that mpz_import() would do the trick, since > it takes a size value, but this didn't just work. Should it? Are there > any other tricks up your sleeve for this?
The input and export functions should do this - if you can offer a simple example that fails, I can take a look at it. Brian -- You received this message because you are subscribed to the Google Groups "mpir-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to mpir-devel+unsubscr...@googlegroups.com. To post to this group, send email to mpir-devel@googlegroups.com. Visit this group at http://groups.google.com/group/mpir-devel?hl=en. For more options, visit https://groups.google.com/groups/opt_out.