comp.lang.ada
 help / color / mirror / Atom feed
From: Adam Beneschan <adam@irvine.com>
Subject: Re: Interfacing to C and long long data type
Date: Fri, 27 Jun 2008 11:53:25 -0700 (PDT)
Date: 2008-06-27T11:53:25-07:00	[thread overview]
Message-ID: <67af3e06-1e93-4aa4-8182-fa0965285bf6@s21g2000prm.googlegroups.com> (raw)
In-Reply-To: 4ji77y6wxamy$.t0e9a057c44p.dlg@40tude.net

On Jun 27, 9:11 am, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> On Thu, 26 Jun 2008 04:59:01 -0700 (PDT), Maciej Sobczak wrote:
> > On 26 Cze, 10:53, Sébastien Morand <seb.mor...@gmail.com> wrote:
>
> >> Anyway when you interface Ada with C, you are loosing the portability of
> >> your program
>
> > If I need some functionality, then non-portable program that has this
> > functionality is infinitely better than a portable program that does
> > not.
>
> Why infinitely? Having any functionality X can have only a finite value.
> Similarly the value of having no X is also finite. [Assuming some additive
> model of values.]

I think the idea here is that the value of a portable program that
does not have the functionality you need is 0.0, and so even though
the functionality of the non-portable value is finite, when you divide
to get a ratio you will get an infinite answer.  Well, actually,
you'll get Constraint_Error but that's just a nitpick......

                             -- Adam






  reply	other threads:[~2008-06-27 18:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 15:23 Interfacing to C and long long data type Maciej Sobczak
2008-06-25 16:55 ` Keith Thompson
2008-06-25 21:35   ` Maciej Sobczak
2008-06-26  8:53     ` Sébastien Morand
2008-06-26 10:19       ` Georg Bauhaus
2008-06-26 11:59       ` Maciej Sobczak
2008-06-27 14:31         ` Sébastien Morand
2008-06-27 16:11         ` Dmitry A. Kazakov
2008-06-27 18:53           ` Adam Beneschan [this message]
2008-06-27 20:29             ` Simon Wright
2008-06-27 20:46             ` Dmitry A. Kazakov
2008-06-25 19:08 ` Simon Wright
replies disabled

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