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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bb791bffed99d85a X-Google-Attributes: gid103376,public From: kst@thomsoft.com (Keith Thompson) Subject: Re: Help with type conversion needed Date: 1996/01/08 Message-ID: #1/1 X-Deja-AN: 134548787 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: pulsar references: <4ckmb7$vo0@flood.weeg.uiowa.edu> <4cnivs$m1k@flood.weeg.uiowa.edu> <4cq6ku$l5a@flood.weeg.uiowa.edu> organization: Thomson Software Products, San Diego, CA, USA newsgroups: comp.lang.ada originator: kst@pulsar Date: 1996-01-08T00:00:00+00:00 List-Id: In dewar@cs.nyu.edu (Robert Dewar) writes: [...] > You do not need to use a larger type at all. Note that the addition of > 32768 in modular arithmetic wraps just as you need it to, that is what > modular arithmetic is all about! Assuming that the original poster is using an Ada 95 compiler. Yes, "Ada" should now mean "Ada 95" unless otherwise specified, but not everyone is aware of that. -- Keith Thompson (The_Other_Keith) kst@thomsoft.com (kst@alsys.com still works) TeleSoft^H^H^H^H^H^H^H^H Alsys^H^H^H^H^H Thomson Software Products 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2718 Et tu, Barada Nikto?