Google Summer of Code project: GMP bindings for Parrot

Daniele Varrazzo daniele.varrazzo at gmail.com
Wed May 18 18:24:31 CEST 2011


On Wed, May 18, 2011 at 5:10 PM, Sam Rawlins <sam.rawlins at gmail.com> wrote:
> On Tue, May 17, 2011 at 1:25 AM, Daniele Varrazzo <
> daniele.varrazzo at gmail.com> wrote:

>> For what I've seen writing the PostgreSQL bindings, 4.2, 4.3 and 5.0
>> have identical interface (I've bound pretty much all the public
>> functions). 4.1 is only missing rootrem(), combit() and randint_mt(),
>> so it was easy to support as well with minimal use of ifdef.
>
> I agree. I maintain GMP bindings for Ruby and I have no trouble supporting
> GMP 4.3.x and 5.0.x all in one binding. The much trickier path was the
> bindings for MPFR which changed a lot between 2.x and 3.x (mostly in
> rounding modes and a few new functions, I think).

Ah sorry: the above statement is incomplete. I've wrapped all the
public functions regarding mpz and mpq, not yet mpf (nor mpfr), so I
can't talk about those functions.

-- Daniele


More information about the gmp-discuss mailing list