comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pogner.demon.co.uk>
Subject: Re: Sun Ada 3.0 / 2.1.1
Date: 1999/05/22
Date: 1999-05-22T00:00:00+00:00	[thread overview]
Message-ID: <x7vd7ztoyfs.fsf@pogner.moho> (raw)
In-Reply-To: 37408CC0.5E601B20@sll.northrop.com

Guy Calinsky <calinsky@sll.northrop.com> writes:

> I have a requirement to upgrade my project's compiler from Sun Ada 2.1.1
> to Sun Ada 3.0.
> Easy enough, except that my application makes several calls to C
> functions, passing floating point numbers.
> Whereas my application worked fine under 2.1.1, the floating point
> numbers are not mapping correctly between 3.0 and C and I get junk for
> results.  Does anybody know why this is?
> Sun and Rational are being difficult.

I don't _know_ why, but could it be that the old Ada used double and
the new uses float? or vice versa? How have you declared the floating
point numbers in Ada? (sometimes the actual type used depends on your
declared range).

-- 
Simon Wright                        Work Email: simon.j.wright@gecm.com
Alenia Marconi Systems                         Voice: +44(0)1705-701778
Integrated Systems Division                      FAX: +44(0)1705-701800




      parent reply	other threads:[~1999-05-22  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-17  0:00 Sun Ada 3.0 / 2.1.1 Guy Calinsky
1999-05-18  0:00 ` David C. Hoos, Sr.
1999-05-24  0:00   ` fea
1999-05-24  0:00     ` Robert Dewar
1999-05-22  0:00 ` Simon Wright [this message]
replies disabled

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