Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: m.w.rowland@larc.nasa.gov (Michael W. Rowland)
Subject: OSF/1 v2.0--FORTRAN v3.4-480 Trig Error
Date: Tue, 21 Jun 1994 16:55:03 -0500	[thread overview]
Message-ID: <9406211655.AA03592@zorba7.larc.nasa.gov> (raw)

For those of you whom might be running OSF/1 V2.0 with the DEC FORTRAN
compiler f77 v3.4-480 and its associated trig library functions, I have
found an erratic problem with the call to DCOSD:  sometimes it will put
the result in a negative quadrant!  My workaround was to convert my
calling argument to radians and then call DCOS.  The problem went away.
The angle (degrees) that I had problems with was around +87 degrees.
The absolute value of the answer was correct but the number was negative!

Has anyone else seen this problem?  Please e-mail.

Mike Rowland


*********************************************************
*** Mike Rowland--SAIC, NASA Langley Research Center ****
** Aerosol Research Branch, M/S 475, Hampton, VA 23681 **
* ph: (804) 864-2691, e-mail: m.w.rowland@larc.nasa.gov *
*********************************************************



                 reply	other threads:[~1994-06-21 21:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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