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.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,982f13b809cc2afa X-Google-Attributes: gid103376,public From: franke@minet.uni-jena.de (Frank Ecke) Subject: Re: Need GNAT Help !!!!! Date: 1998/08/18 Message-ID: #1/1 X-Deja-AN: 382219875 References: <6ra6bc$8mv$1@hirame.wwa.com> Organization: Friedrich-Schiller-University Jena, Germany Reply-To: franke@minet.uni-jena.de Newsgroups: comp.lang.ada Date: 1998-08-18T00:00:00+00:00 List-Id: On 17 Aug 1998 21:12:12 GMT, Samuel G. Williams wrote: > I have been helping a software engineer in another area of out company draft > an ADA solution for an extremely complex problem. Please, use the name Ada. >Does anyone know how to change a type size under GNAT? This is quite vague a question. If you want to alter the number of bits used for the representation of the type, then this is not a question specific to GNAT. Ada provides for such facilities. You might wish to take a look at Section 13 of the Ada Reference Manual. Following below is a short demonstration: type Short is delta 0.01 range -100.0 .. 100.0; for Short'Size use 15; In essence, the above code requests that 15 bits be used for the representation of the type (descriptor) and for the objects eventually created (of type Short). Is that what you were looking for? If not, be more precise! Regards, Frank