* A question about fixed point types
@ 1993-09-20 7:33 cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!do
0 siblings, 0 replies; only message in thread
From: cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!do @ 1993-09-20 7:33 UTC (permalink / raw)
What does it mean 'universal fixed type'?
?????? type UNIVERSAL_FIXED delta system_depend range 0.0 .
. 1.0;
And if it is true, then if I write
declare
type t1 is delta 0.01 range 10.0 .. 100.0;
type t2 is delta 0.1 range 100.0 .. 1000.0;
a1 : t1 := 11.0;
a2 : t2 := 111.0;
begin
a2 := t2(a1 * a2);
...
then the a1 * a2 epression has universal fixed type. But this value (11.0 * 111
.0)
is out of range of (0.0 .. 1.0). I don't understand it.
And how the generated code used to storing this values.
Thanks.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1993-09-20 7:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1993-09-20 7:33 A question about fixed point types cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!do
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox