home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.fortran
- Path: sparky!uunet!pgroup!lfm
- From: lfm@pgroup.com (Larry Meadows)
- Subject: Re: 64-bit integers from Sun f77
- Message-ID: <BryCp9.FFw@pgroup.com>
- Date: Sat, 25 Jul 1992 16:05:33 GMT
- References: <1992Jul16.215352.25027@beaver.cs.washington.edu> <9080023@hpfcso.FC.HP.COM>
- Organization: The Portland Group, Portland, OR
- Lines: 31
-
- In article <9080023@hpfcso.FC.HP.COM> kauth@hpfcso.FC.HP.COM (Joan Kauth) writes:
- >I can't answer your original question, but am curious as to why 64-bit
- >integers are important for Fortran users, so I would like to pose a counter
- >question.
- >
- >Why do you need 64-bit integers?
- >I.e. What do you use integers for that requires > 32 bits?
- >
- >Some possibilities come to mind:
- >
- > o For importability from systems whose default integer size is 64-bits.
- This is often why users ask us for 64-bit integers. Porting Cray code.
- Many of them would probably be satisfied if 32-bit integers took up 8
- bytes, this is the solution implemented by several compilers.
-
- > o For time or money representation.
- > o For representation of quantities (such as distance or length) which more
- > naturally would be REAL, but integer operations are faster.
- > o For more bit fields in an integer for use as flags.
- >
- >Or ??
- o Because we really have arrays that take up more than 4GB of space.
- Consider a MPP machine with 1024 nodes each with 1GB of memory --
- or even 64MB of memory (or even 4MB of memory :-). You may really want
- to index that array in a linear fashion.
- o Because we have file systems with many GB (TB?) and want to address
- them uniformly (flat addressing).
- [ I've heard both these from users ]
- --
- Larry Meadows The Portland Group
- lfm@pgroup.com
-