From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8c82f96c3f1dff70 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-10-13 16:39:08 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!newscon06.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr14.news.prodigy.com.POSTED!not-for-mail Message-ID: <3BC8D083.E6503BC3@pacbell.net> From: "R. Tim Coslet" X-Mailer: Mozilla 4.7C-CCK-MCD {C-UDP; EBM-APPLE} (Macintosh; I; PPC) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Working with Scaled Integers References: Content-Type: text/plain; charset=us-ascii; x-mac-type="54455854"; x-mac-creator="4D4F5353" Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 207.214.211.95 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr14.news.prodigy.com 1003016320 ST000 207.214.211.95 (Sat, 13 Oct 2001 19:38:40 EDT) NNTP-Posting-Date: Sat, 13 Oct 2001 19:38:40 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: SCSGGWWGVZUUCP\YZBCD^VX@WB]^PCPDLXUNNHPIMASJETAANVW[AKWZE\]^XQWIGNE_[EBL@^_\^JOCQ^RSNVLGTFTKHTXHHP[NB\_C@\SD@EP_[KCXX__AGDDEKGFNB\ZOKLRNCY_CGG[RHT_UN@C_BSY\G__IJIX_PLSA[CCFAULEY\FL\VLGANTQQ]FN Date: Sat, 13 Oct 2001 23:38:40 GMT Xref: archiver1.google.com comp.lang.ada:14462 Date: 2001-10-13T23:38:40+00:00 List-Id: 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