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,56250291936154a0 X-Google-Attributes: gid103376,public From: "Tarjei T. Jensen" Subject: Re: OS Bindings (was: Where is the elusive jump command?) Date: 2000/04/18 Message-ID: <8dhvq9$dcc5@ftp.kvaerner.com>#1/1 X-Deja-AN: 612726472 Content-Transfer-Encoding: 7bit References: <38D771CA.D41AF9B5@port.ac.uk><8bq7ku$mc8$1@nnrp1.deja.com><38E0E723.C39C392@quadruscorp.com><8brfm4$4uc$1@nnrp1.deja.com><8brn4k$p6i$1@slb0.atl.mindspring.net><8brrpj$i04$1@nnrp1.deja.com><38E312F8.78883ACB@icn.siemens.de><8c4rvf$d9k$1@nnrp1.deja.com><2000Apr5.070127.1@eisner><2000Apr6.081305.1@eisner><8ci6vf$r5a$1@nnrp1.deja.com><8ck638$krs3@ftp.kvaerner.com><8cp23c$4gp$1@nnrp1.deja.com><8csjs8$o2p3@ftp.kvaerner.com><8d0su8$bqt$1@nnrp1.deja.com><8d20bq$o2p4@ftp.kvaerner.com> <8d457u$5n33@ftp.kvaerner.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Kv�rner Group IT Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-04-18T00:00:00+00:00 List-Id: Robert A Duff wrote >You *have* to care about the base subtype, because that determines the >range of intermediate expression results. I would expect that I would have to be pretty careful about how things are written when handling unsigned integers > signed max_int. I would not want to do the arithmetic as signed integers and only store an unsigned integer. For the time being most problems with these numbers will be limited to those who have Ada compilers which have 32 bit integers as their largest integers. Most disks bought these days are currently larger (in bytes) than the largest integer available on these systems. Some of our systems generates files which are larger than can be expressed with a signed 32bit integer. For the curious: these are Oracle export files. I am relieved that gnat allows 64 bit integers. That will keep my use of unsigned integers out of trouble for the time being (I'm currently mainly 32 bit). Greetings,