[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: prnt octals in g77 ?
- To: misc@openbsd.org
- Subject: Re: prnt octals in g77 ?
- From: Alfred Breull <puma@hannover.sgh-net.de>
- Date: Fri, 01 Jun 2001 08:00:35 +0100
- References: <3.0.6.32.20010531084853.0092e2b0@pop3.hannover.sgh-net.de> <3.0.6.32.20010531084853.0092e2b0@pop3.hannover.sgh-net.de>
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.