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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,f9957894e0bdf128 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!news2.glorb.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.bt.com!news.bt.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 16 Jan 2009 16:06:34 -0600 From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: How to put 200 into an integer sub-type of 16 bits (code included) Date: Fri, 16 Jan 2009 22:16:10 +0000 Reply-To: brian@shapes.demon.co.uk Message-ID: References: <139961e9-bae6-4e60-8ff7-4f4779b27481@z6g2000pre.googlegroups.com> <87816592-c947-4bbc-92ed-7473646a105e@a12g2000pro.googlegroups.com> <1a2b31ac-cf6b-44e3-85b7-04594460db87@d36g2000prf.googlegroups.com> <86ab9s7jlx.fsf@stephe-leake.org> <87d4en4nu4.fsf@nbi.dk> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Usenet-Provider: http://www.giganews.com X-AuthenticatedUsername: NoAuthUser X-Trace: sv3-ArOEQTMbDQzBn0VVHE1aW2+mlvbAH1FlL8r9Vw9ycw1wdOQMAhJ2JmpYOSDT8qrO49stjgpF7AjGIH0!PCBGNpwJ4ZcfgSVDIDB7aTmPa9z+/XC37Y+WZA0u+RAf4Xpa1vrqfWuB648+ku6j4e6Q+TMtfMns!WHVh X-Complaints-To: abuse@btinternet.com X-DMCA-Complaints-To: abuse@btinternet.com X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.39 Xref: g2news1.google.com comp.lang.ada:3400 Date: 2009-01-16T22:16:10+00:00 List-Id: On 16 Jan 2009 10:11:47 +0100, Jacob Sparre Andersen wrote: >Dmitry A. Kazakov wrote: > >> But 200 fits into one byte! - cries his poor mind... > >Actually it fits in one bit - using a suitable declaration of the type. > >More seriously; I still haven't been able to figure out exactly what >problem the OP really is trying to solve. I suspect it may be a software implementation of a "long stand" - Brian