From: kst@king.cts.com (Keith Thompson)
Subject: Re: An interesting object lesson (Ada vs C)
Date: 1998/04/29
Date: 1998-04-29T00:00:00+00:00 [thread overview]
Message-ID: <893889181.977487@wagasa.cts.com> (raw)
In-Reply-To: dewar.893645616@merv
Robert Dewar (dewar@merv.cs.nyu.edu) wrote:
[...]
> Someone else complained at the use of the non-standard long double, true,
> but it seems a pity that you *need* a non-standard extension to get at
> a basic facility of the underlying architecture -- certainly not something
> that is required in Ada!
The type long double is part of the C standard. See ANSI/ISO 9899-1990,
section 6.1.2.5:
There are three floating types, designated as float, double, and
long double. The set of values of the type float is a subset
of the set of values of the type double; the set of values of
the type double is a subset of the set of the set of values of
the type long double.
Admittedly, there are still C compilers in use that don't support long
double -- just as there are still Ada compilers in use that don't support
the new features of Ada 95.
--
Keith Thompson (The_Other_Keith) kst@cts.com <http://www.ghoti.net/~kst> <*>
Qualcomm, San Diego, California, USA <http://www.qualcomm.com>
It takes a Viking to raze a village.
next prev parent reply other threads:[~1998-04-29 0:00 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-04-26 0:00 An interesting object lesson (Ada vs C) Robert Dewar
1998-04-26 0:00 ` Jonathan Guthrie
1998-04-26 0:00 ` Robert Dewar
1998-04-29 0:00 ` Keith Thompson [this message]
1998-05-01 0:00 ` Jonathan Guthrie
1998-04-26 0:00 ` Robert Dewar
1998-05-01 0:00 ` Jonathan Guthrie
1998-04-26 0:00 ` Al Christians
1998-04-30 0:00 ` John McCabe
1998-04-26 0:00 ` Andi Kleen
1998-04-27 0:00 ` Samuel Tardieu
1998-04-27 0:00 ` Aaro Koskinen
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox