From: Stephen Leake <stephen.a.leake.1@gsfc.nasa.gov>
Subject: Re: Working with Scaled Integers
Date: 16 Oct 2001 10:58:10 -0400
Date: 2001-10-16T15:00:02+00:00 [thread overview]
Message-ID: <uofn7tywt.fsf@gsfc.nasa.gov> (raw)
In-Reply-To: tshodl6t9u8ga3@corp.supernews.com
"Andrew" <mysig@fast.net> writes:
> We are tied to using existing types because our package specs are generated
> by tools.
Hmm. This raises two questions.
1) If the tool writes the code for you, why do you need to
"understand" it better? I suppose you don't trust the tool; probably
wise.
2) If the tool claims to be generating Ada code, but is not using
fixed point types for scaled integers, it is broken. It probably
also supports C output, but that's no excuse! Time for a new tool.
>
>
> --------------------------------------------------------------
> Andrew
>
>
>
> "R. Tim Coslet" <rtcoslet@pacbell.net> wrote in message
> news:3BC8D083.E6503BC3@pacbell.net...
> > Instead of "scaled integers" look at Ada's Fixed Point real types.
> >
> > For "BCD" types use Ada's Decimal types.
> >
> > Andrew wrote:
> >
> > > Developing/maintaining Ada code that processes 1553 bus data. I have a
> basic
> > > understanding of working with scaled integers. But I'd like to learn
> more.
> > > Specifically, working with semi-circles, how to specify data resolution
> > > (LSB), BCD etc. My understanding in this area is somewhat weak and I
> need
> > > to correct it.
> > >
> > > thanks;
> > >
> > > --------------------------------------------------------------
> > > Andrew
> >
>
--
-- Stephe
prev parent reply other threads:[~2001-10-16 14:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-13 23:31 Working with Scaled Integers Andrew
2001-10-13 23:38 ` R. Tim Coslet
2001-10-14 0:59 ` Andrew
2001-10-14 13:33 ` Jeff Creem
2001-10-16 14:58 ` Stephen Leake [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox