comp.lang.ada
 help / color / mirror / Atom feed
From: bobduff@world.std.com (Robert A Duff)
Subject: Re: Can compilers do this?
Date: 1996/02/24
Date: 1996-02-24T00:00:00+00:00	[thread overview]
Message-ID: <Dn99FB.Dn@world.std.com> (raw)
In-Reply-To: 4gl344$q4j@wdl1.wdl.loral.com

In article <4gl344$q4j@wdl1.wdl.loral.com>,
Mark A Biggar <mab@dst17.wdl.loral.com> wrote:
>My guess is that on that machine signed zeros exist and that -0.0 < 0.0
>and that -0.0 * 0.0 => 0.0, thus the above gives the right answer when
>given a -0.0.

Ada 83 doesn't say anything about signed zeros.

Ada 95 does, and it says that if the machine has signed zeros, then
minus zero is equal to plus zero, according to the predefined "="
operator.

- Bob




  reply	other threads:[~1996-02-24  0:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-22  0:00 Can compilers do this? BWBurnsed
1996-02-23  0:00 ` Stuart Palin
1996-02-23  0:00 ` Mark A Biggar
1996-02-24  0:00   ` Robert A Duff [this message]
1996-02-23  0:00     ` Robert Dewar
1996-02-25  0:00   ` Robert Dewar
1996-02-23  0:00 ` Robert Dewar
1996-02-23  0:00 ` Cordes MJ
1996-02-23  0:00 ` Robert Dewar
1996-02-26  0:00 ` Robert I. Eachus
1996-02-26  0:00   ` BWBurnsed
  -- strict thread matches above, loose matches on Subject: below --
1996-02-26  0:00 Marin David Condic, 407.796.8997, M/S 731-93
replies disabled

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