Exporting a gmp_rndstate_t?
Christopher Creutzig
ccr at sciface.com
Thu Jun 14 17:05:19 CEST 2007
Pedro Gimeno Fortea wrote:
> Anyway you're asking for a way to export to mpz_t; do you really need
> that format? I mean, the plans are to include an export routine which
Not really "need", no. The point why I'm asking is that we have to wrap
all gmp types into types of our own (presenting them to the user in an
interactively usable system which has a lot of other types, too) and
introducing a new type for the random state, which can be used in
exactly one place, seems rather odd to me. So, I'd prefer to have an
opaque integer instead, since all the scaffolding and memory management
etc. for that is already in place.
--
SciFace Software GmbH & Co. KG
Technologiepark 11 Tel: ++49 (0)5251 640751
D-33100 Paderborn Fax: ++49 (0)5251 640799
Deutschland Web: www.sciface.com
Sitz der Gesellschaft: Paderborn
Registergericht Paderborn HRA 2080
Ust.-ID Nr.: DE 187992139
Persönlich haftende Gesellschaft:
SciFace Software Verwaltungsgesellschaft mbH
Registergericht Paderborn HRB 2924
Geschäftsführer: Dr. Oliver Kluge
More information about the gmp-devel
mailing list