Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.fortran    |    Putting John Backus on a giant pedestal    |    5,127 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 4,711 of 5,127    |
|    Steven G. Kargl to Clive Page    |
|    Re: Is there a way in Fortran to designa    |
|    03 Oct 24 22:40:07    |
      From: sgk@REMOVEtroutmask.apl.washington.edu              On Thu, 03 Oct 2024 22:28:31 +0100, Clive Page wrote:              > On 03/10/2024 20:59, Steven G. Kargl wrote:       >> My personal recommendation would be to do a proper porting from       >> integer (aka integer*4) to integer(kind=8). And, yes, 8 in the       >> 'kind=8' is not portable.       >>       >       > Yes because different compilers use different integer kind numbers for       different purposes: at least one uses kinds 1, 2, 3, 4 for the four most       common numbers of bytes where other compilers use 1, 2, 4, 8. But if you       use integer(kind=int64) this is portable.              (Although unlikely) what happens when int64 = -1?       I suppose 'integer(-1)' is portable to the extent       that a compiler will error out.              --       steve              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca