[Info-vax] cast REAL*16 to constant 18446744073709551616

Robert Spalding rmspalding at gmail.com
Mon Mar 15 13:47:01 EDT 2021


Is it not unreasonable to expect a 64bit compiler to support 72bit integers?

For the specific case, note that the supplied integer has an integer 
square root - so use that and square it afterward?  Beyond that, how 
many fraction bits in REAL*16 (which I have never had the occasion to use)?

       integer*8 i
       real*16   x
       i = 4294967286
       x = i
       x = x * x
       print *,x
       end


On 3/15/2021 1:09 PM, HCorte via Info-vax wrote:
> 18446744073709551616 that is 9 bytes length how to do it?







More information about the Info-vax mailing list