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-Thread: 103376,2a0aa2b1c348fd6a X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!wn14feed!worldnet.att.net!attbi_s53.POSTED!53ab2750!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: shifting bits References: <87eklqfahj.fsf@insalien.org> X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 24.6.132.82 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s53 1093799852 24.6.132.82 (Sun, 29 Aug 2004 17:17:32 GMT) NNTP-Posting-Date: Sun, 29 Aug 2004 17:17:32 GMT Organization: Comcast Online Date: Sun, 29 Aug 2004 17:17:32 GMT Xref: g2news1.google.com comp.lang.ada:3147 Date: 2004-08-29T17:17:32+00:00 List-Id: > type Year_Type is range 1900 .. 2099; > for Year_Type'Size use 11; While Gnat 3.15p for Windows appears to do this automatic offsetting (subtracting/adding 1900) it's not portable Ada - other compilers say those values don't fit in 11 bits.