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: a07f3367d7,fa37ee962bc4b00d X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.glorb.com!news2.glorb.com!wns14feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Conversion from floating point to signed 16 bits References: <4a12ffa3$0$2853$ba620e4c@news.skynet.be> <4a13e54a$0$32672$9b4e6d93@newsspool2.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 173.16.158.68 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1242832738 173.16.158.68 (Wed, 20 May 2009 15:18:58 GMT) NNTP-Posting-Date: Wed, 20 May 2009 15:18:58 GMT Organization: AT&T ASP.att.net Date: Wed, 20 May 2009 15:18:58 GMT Xref: g2news2.google.com comp.lang.ada:5959 Date: 2009-05-20T15:18:58+00:00 List-Id: Martin wrote: > > Or better - just use package Interfaces instead... No. Interfaces.Unsigned_16 is a modular type. The OP's Unsigned_16 is a signed integer type. -- Jeff Carter "English bed-wetting types." Monty Python & the Holy Grail 15