Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* OSF/1 v2.0--FORTRAN v3.4-480 Trig Error
@ 1994-06-21 21:55 Michael W. Rowland
  0 siblings, 0 replies; only message in thread
From: Michael W. Rowland @ 1994-06-21 21:55 UTC (permalink / 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 *
*********************************************************



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1994-06-21 21:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-06-21 21:55 OSF/1 v2.0--FORTRAN v3.4-480 Trig Error Michael W. Rowland

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