Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: lionel@quark.enet.dec.com (Steve Lionel)
Subject: Re: Possible Alpha f77 Problem
Date: 1 Aug 1994 15:43:39 GMT	[thread overview]
Message-ID: <31j57b$41v@jac.zko.dec.com> (raw)
In-Reply-To: 31gt09$i8d@umigw.miami.edu


In article <31gt09$i8d@umigw.miami.edu>, spindler@oj.rsmas.miami.edu 
(todd spindler) writes:
|>
|>I tried the following program on a Dec Alpha running OSF/1 1.3,
|>Dec Fortran T3.4-451:
|>
|>      program bogus
|>      real aaa /-10./
|>      write(*,*) 'log(-10) =', log(aaa)
|>      end
|>
|>The problem is that I don't get an error message for calculating the log
|>of a negative number.  Fortran simply returns the argument value, and 
|>prints the following line: 
|>
|>log(-10) =  -10.00000
|>
|>What gives?  Ultrix Fortran returns an error message, as does VMS Fortran.
|>Is this a bug or a feature?

This was also cross-posted to comp.lang.fortran where someone posted a reply
saying that the problem no longer occurred in DEC OSF/1 AXP V2.0.
-- 

Steve Lionel                      Mail: lionel@quark.enet.dec.com
DEC Fortran Development           WWW:  http://www.digital.com/info/slionel.html
Digital Equipment Corporation     
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698             "Free advice is worth every cent"

For a summary of Digital's Internet services, send mail to info@digital.com


  reply	other threads:[~1994-08-01 15:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-07-31 19:11 Possible Alpha f77 Problem todd spindler
1994-08-01 15:43 ` Steve Lionel [this message]
1994-08-01 18:47 ` Jim Brown
1994-08-02  6:08 ` Thomas Wright  Sysop. UHIBPD
1994-08-02 13:31   ` Craig Neth USG
1994-08-02 20:13     ` Thomas Wright  Sysop. UHIBPD
1994-08-02 21:38       ` Craig Neth USG
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox