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,3ccb707f4c91a5f2 X-Google-Attributes: gid103376,public From: "Norman H. Cohen" Subject: Re: Portability of Arithmetic (was: Java vs Ada 95) Date: 1996/10/21 Message-ID: <326BBBCA.15AE@watson.ibm.com>#1/1 X-Deja-AN: 191011847 references: <325D7F9B.2A8B@gte.net> <1996Oct15.174526.1@eisner> <32679C86.2FB8@watson.ibm.com> content-type: text/plain; charset=us-ascii organization: IBM Thomas J. Watson Research Center mime-version: 1.0 reply-to: ncohen@watson.ibm.com newsgroups: comp.lang.ada x-mailer: Mozilla 3.0 (Win95; I) Date: 1996-10-21T00:00:00+00:00 List-Id: Robert Dewar wrote: > iNorman says > > "Harrumph! What about 64-bit UNsigned binary arithmetic? 32-bit > arithmetic does not suffice for manipulating offsets into files larger > than 4GB, or for calculating the amount of space available on some > disks, or for timestamps accurate to the nearest millisecond and > spanning a range of 16 months or more." > > Well if you are telling me that you have written applications that > do all the above, interesting ... I sure have not seen many such uses > in the user code I have seen. I'm certainly aware of system code that does each of the above, and in some cases there are 64-bit types in the APIs. I am aware of certain application areas in which 64-bit arithmetic is considered an absolute requirement. > I am particularly interested in your comments on manipulating offsets > into files larger than 4GB, what operating system are you talking about > here for interest :-) I can only guess about the significance of the smiley, but AIX version 4 is one such operating system. -- Norman H. Cohen mailto:ncohen@watson.ibm.com http://www.research.ibm.com/people/n/ncohen