comp.lang.ada
 help / color / mirror / Atom feed
From: "John B. Matthews" <nospam@nospam.invalid>
Subject: Re: Ada binding to GMP and MPFR
Date: Thu, 28 May 2009 15:41:28 -0400
Date: 2009-05-28T15:41:28-04:00	[thread overview]
Message-ID: <nospam-5A2D77.15412828052009@news.aioe.org> (raw)
In-Reply-To: b7a9794d-9973-4d85-9e09-c3c0e14b5c4d@v4g2000vba.googlegroups.com

In article 
<b7a9794d-9973-4d85-9e09-c3c0e14b5c4d@v4g2000vba.googlegroups.com>,
 "vincent.diemunsch@gmail.com" <vincent.diemunsch@gmail.com> wrote:

[...]

<http://code.google.com/p/adabindinggmpmpfr/source/browse/>

> I have now added the files in the svn source tree !

It's visible now.

> I will add a little comment for Mac OS X users.

Excellent!

> I still have a little trouble in my sample program for the 
> "translation" of the C sample program, with the function mpfr_out_str 
> BUT I find the example of the Thick Ada Binding quite convincing :

Looks good. I saw only two anomalies:

1) In mpfr_example.adb, line 75 should perhaps invoke New_Line, rather 
than Skip_Line.

2) In mpfr.ads, line 686, I had to specify a different external name:

   pragma Import (C, mpfr_out_str, "__gmpfr_out_str");

-- 
John B. Matthews
trashgod at gmail dot com
<http://sites.google.com/site/drjohnbmatthews>



  reply	other threads:[~2009-05-28 19:41 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-20 14:19 Ada binding to GMP and MPFR vincent.diemunsch
2009-05-20 14:30 ` Ludovic Brenta
2009-05-20 15:24   ` qunying
2009-05-27 15:35     ` vincent.diemunsch
2009-05-27 17:47       ` John B. Matthews
2009-05-28 12:47         ` vincent.diemunsch
2009-05-28 19:41           ` John B. Matthews [this message]
2009-05-28 20:23             ` vincent.diemunsch
2009-05-29  0:30               ` John B. Matthews
2009-05-29 12:01   ` vincent.diemunsch
2009-05-29 17:08     ` qunying
2009-05-29 16:55 ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox