integer*8
Nodar
shubi@nusun.jinr.ru
Thu Nov 13 10:20:00 GMT 2003
Hello All !
I work with long integers. I use in my program:
INTEGER *8 c/Z'7FFFFFFFFFFFFFFF'/
where 7FFFFFFFFFFFFFFF = 92233720368547755807 = 2^63-1 - maximal
integer number. From compiller I receive:
INTEGER *8 c/Z'7FFFFFFFFFFFFFFF'/
^
Integer at (^) too large.
When I use another construction:
INTEGER *8 c
c=92233720368547755807
I receive analogous answer.
Please, help me.
Nodar Shubitidze
Lab. Nuclear problems
Joint Institute for Nuclear Research
Dubna, Moscow region, RUSSIA
More information about the Gcc-help
mailing list