[3174] in Athena Bugs

home help back first fref pref prev next nref lref last post

6.3B RT f77

daemon@ATHENA.MIT.EDU (Carla Fermann)
Tue Sep 12 12:11:48 1989

To: bugs@ATHENA.MIT.EDU
Date: Tue, 12 Sep 89 12:11:28 EDT
From: Carla Fermann <carla@ATHENA.MIT.EDU>

From a user in OLC:

There is a bug in the fortran compiler:

According to the fortran 77 standard ( and most other fortran compilers)

        cmplx(1.) = cmplx(1.,0.) = ( 1., 0.)

If you compile the program in:

        /mit/chasman/ronniek/testcmplx.f

and run it you will find that:

        cmplx(1.) = (1.,1.)
and     cmplx(1.,0.) = (1.,1.)

This is wrong.

Thankyou.
--David Chasman
================================================================
    [89/09/12 11:04:57]
Dear Consultants:
Yesterday I reported a bug in the fortran compiler - it was the default
fortran compiler on the RTs - that is f77 -c filename.f
================================================================


home help back first fref pref prev next nref lref last post