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

Arne Vajhøj arne at vajhoej.dk
Mon Mar 15 13:48:01 EDT 2021


On 3/15/2021 1:09 PM, HCorte wrote:
> Hi trying to cast REAL*16 to the constant 18446744073709551616 that is 9 bytes length how to do it?
> 
> tried (http://www.cs.uwm.edu/classes/cs151/Bacon/Lecture/HTML/ch06s09.html):
>          REAL*16     OVER8BYTES
>          PARAMETER  (OVER8BYTES = 18446744073709551616e)
> 
> %F90-E-ERROR, The decimal constant was too large when converting to an integer, and overflow occurred.   [184
> 46744073709551616]

Does 18446744073709551616q0 work?

Arne





More information about the Info-vax mailing list