[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gmp-devel
Subject:    Exporting a gmp_rndstate_t?
From:       ccr () sciface ! com (Christopher Creutzig)
Date:       2007-06-14 15:05:19
Message-ID: 4671592F.2030106 () sciface ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic