From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,934ea47fe186989e X-Google-Attributes: gidfee84,public From: lionel@quark.enet.dec.com (Steve Lionel) Subject: Re: another f77 math lib bug ? Date: 1995/08/31 Message-ID: <4250ju$8vh@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 109227855 distribution: world references: <422orl$lnb@nntp.ucs.ubc.ca> organization: Digital Equipment Corporation, Nashua NH reply-to: lionel@quark.enet.dec.com (Steve Lionel) newsgroups: comp.unix.osf.osf1 In article <422orl$lnb@nntp.ucs.ubc.ca>, GERTJAN@TRIUMF.CA (HOFMAN, GERTJAN) writes: |>We are using OSF3.0, DFAO X3.4.1. Just noticed that |> |> x=90.1 |> write (6,*) atand(x) |> |> |> gives >2000 but it should be around ~89. I'm unable to find any reference to a correction for this specific problem. I do note though that since the error goes away with -O0 that this suggests the compiler is doing constant folding and hence the error, if any (I don't have this old combination handy to check) might be in the compiler. I would recommend upgrading to a more current version of the compiler, at least. V3.8 is current. -- Steve Lionel Mail: lionel@quark.enet.dec.com DEC Fortran Development WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation CompuServe: 75263,3001 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For information on DEC Fortran 90, see http://www.digital.com/info/hpc/f90/