comp.lang.ada
 help / color / mirror / Atom feed
From: paul.english@NOSPAM.technologist.com
Subject: Re: precise floats
Date: 1998/08/07
Date: 1998-08-07T00:00:00+00:00	[thread overview]
Message-ID: <uu33pxltv.fsf@sg.adisys.com.au> (raw)
In-Reply-To: 6qco5r$v8n$1@nnrp1.dejanews.com

dennison@telepath.com writes:

> The Ada.Interfaces package that comes with ObjectAda 7.1.1 for
> windows/Intel contains *no* floating-point types whatsoever. (It is
> also quite different that the verion they printed out in Annex M of
> their docs. In particular the 16 and 8 bit integers don't appear to
> exist in the actual package spec.)

The Ada.Interfaces package that came with ObjectAda 7.1.1
(ObjectAda/lib/src/INTERF$1.ADS) contains the following definitions:

    type Integer_32 is range -2**31 .. 2**31-1;  --2's complement
    type Integer_16 is range -2**15 .. 2**15-1;  --2's complement
    type Integer_8  is range -2**7  .. 2**7 -1;  --2's complement

    type Unsigned_32 is mod 2**32;
    type Unsigned_16 is mod 2**16;
    type Unsigned_8  is mod 2**8;

    type IEEE_Float_32 is new FLOAT;
    type IEEE_Float_64 is new LONG_FLOAT;

This is the same as the Annex M, with the exception of the IEEE
Floating point types, which aren't in Annex M.  Are you sure you are
looking at the right version of the spec?

> So are you saying I need to report this as a bug? It would be my 3rd
> report in a month (1st this month, though).

That I can believe, it's about in keeping with my experience of OA so
far.

Cheers,

-- 
                                        ,    , 
                                       ("\''/").___..--''" -._ 
Paul English                           `9_ 9  )   `-.  (     ).`-.__.') 
paul.english@NOSPAM.technologist.com   (_Y_.)'  ._   )   ._  . ``-..-' 
(delete NOSPAM. to mail me)          _..`--'_..-_/  /--'_.' .' 
                                    (il).-''  ((i).'  ((!.-' 




  reply	other threads:[~1998-08-07  0:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-04  0:00 precise floats Bob Fletcher
1998-08-04  0:00 ` Christopher Green
1998-08-04  0:00 ` David C. Hoos, Sr.
1998-08-05  0:00   ` Bob Fletcher
1998-08-04  0:00 ` Corey Ashford
1998-08-04  0:00   ` Corey Ashford
1998-08-05  0:00     ` Frank Klemm
1998-08-06  0:00       ` Robert Dewar
1998-08-06  0:00         ` dennison
1998-08-07  0:00           ` paul.english [this message]
1998-08-08  0:00             ` Robert Dewar
1998-08-12  0:00               ` Kevin Radke
1998-08-25  0:00               ` Gene Ouye
1998-08-10  0:00             ` dennison
1998-08-07  0:00           ` Robert Dewar
1998-08-07  0:00         ` Tom Weis
1998-08-07  0:00           ` Robert Dewar
1998-08-05  0:00 ` Matthew Heaney
1998-08-09  0:00 ` Bob Fletcher
  -- strict thread matches above, loose matches on Subject: below --
1998-08-06  0:00 Robert Dewar
1998-08-06  0:00 ` Corey Ashford
1998-08-06  0:00 ` Samuel Mize
1998-08-07  0:00   ` Matthew Heaney
1998-08-07  0:00     ` Robert Dewar
replies disabled

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