[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mpz_import
From: |
Marius Vollmer |
Subject: |
Re: mpz_import |
Date: |
Mon, 23 Aug 2004 15:19:03 +0200 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) |
Andreas Vögele <address@hidden> writes:
> Marius Vollmer writes:
>
>> [...] I was thinking whether we should export something like
>> mpz_import and mpz_export for our integers in general. Such an
>> operation is obviously needed sometimes.
>
> I think that's a good idea. I could, for example, use such wrappers
> to convert message digests into bigints. Currently, I use scm_ash and
> scm_sum in a loop to convert MD5 hashes into numbers.
Yes, that sounds the prototypical application. Maybe you have a
concrete suggestion of how Guile should offer these functions (i.e.,
documented function prototypes)? That would be great.