comp.lang.ada
 help / color / mirror / Atom feed
From: km38#@andrew.cmu.edu.UUCP
To: outnews#ext.nn.comp.lang.ada@andrew.cmu.edu
Subject: Fixed point reals
Date: Tue, 24-Feb-87 21:35:50 EST	[thread overview]
Date: Tue Feb 24 21:35:50 1987
Message-ID: <MS.V3.18.km38.80021108.allentown.ibm032.3469.1@andrew.cmu.edu> (raw)


I have access to two compilers, who behave completely differently. With the
following declaration,

type REAL is delta 0.01;

the first one accepts it, and the other one says

   48     type REAL is delta 0.01;
.......................1
%ADAC-E-FIXTYPERANGE, (1) A fixed point type declaration requires a range 
        constraint

I think the second compiler is right in signaling an error, but what about
the first compiler? It is validated with ACVC 1.5.

Thanks,

--Magnus
Arpa: magnus@andrew.cmu.edu
UUCP: seismo!andrew.cmu.edu!magnus

             reply	other threads:[~1987-02-25  2:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1987-02-25  2:35 km38# [this message]
1987-03-01 23:13 ` Fixed point reals Geoff Mendal
1987-03-02 14:45 ` John B. Goodenough
1987-03-04 20:37 ` keith
replies disabled

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