[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prnt octals in g77 ?



Thank you for your kind comment. Meanwhile, I've computed this 
thru bc (ibase=8). However, the octals seem to mask some internal
addresses. Do you know, by chance, where to find information on 
this subject ?
-Alf

----
At 01:05 31.05.01 -0700, David S. wrote:
>On Thu, May 31, 2001 at 08:48:53AM +0100, Alfred Breull wrote:
>> 
>> $ cat xmpl.f
>>       data i/O'147400000000000'/
>>       write (6,*) i
>>       stop
>>       end
>> 
>> $ g77 -o xmpl xmpl.f
>> xmpl.f: In program 'MAIN__':
>> xmpl.f:2:
>>           data i/O'147400000000'/
>>                    ^
>> Integer at (^) too large
>> $
>
>I'd look for a compiler option to force the default interger type to be
>integer*8.  I don't know if there is one for g77, however.  A Fortran
>compilers go, g77 is pretty poor.
>
>David S.