comp.lang.ada
 help / color / mirror / Atom feed
From: cis.ohio-state.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news
Subject: Question on fixed point range constraints
Date: 20 Jul 93 17:45:20 GMT	[thread overview]
Message-ID: <1993Jul20.174520.2243@iplmail.orl.mmc.com> (raw)

I'm trying to create a fixed point type without narrowly
constraining its range. I'd like to use an attribute for
this. Can anyone suggest a way to do this?


i.e  I do not want to do this:

type Velocity is delta 0.01 range -1.0 .. 1.0;

I'd like to do something like this;

type Velocity is delta 0.01 range ?'small .. ?'large;

             reply	other threads:[~1993-07-20 17:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-07-20 17:45 cis.ohio-state.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!csn!news [this message]
  -- strict thread matches above, loose matches on Subject: below --
1993-07-21 15:31 Question on fixed point range constraints Robert I. Eachus
replies disabled

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