Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: bhunt@brians.umd.edu (Brian R. Hunt)
Subject: Re: how to use sincos()?
Date: 1995/08/09	[thread overview]
Message-ID: <bhunt.808006343@brians.umd.edu> (raw)
In-Reply-To: bhunt.807871900@brians.umd.edu

bhunt@brians.umd.edu (Brian R. Hunt) writes:
>I see in the manual pages that DEC OSF1 (V1.3 or V3.0) has a sincos()
>function which I presume is supposed to compute both the sine and
>cosine of an angle in less time than it would take to call sin() and
>cos() separately.  However in all my attempts to use it it seems
>functionally equivalent to sin(), except that it is omitted from
>/usr/include/math.h.  Fine, I can declare sincos() on my own, but how
>do I extract the value of the cosine from it?

I neglected to mention, I'm programming in C.  If it's unusable from
C, a rough idea of how to use it in some other language would be welcome.

-- 
Brian R. Hunt
bhunt@ipst.umd.edu



  reply	other threads:[~1995-08-09  4:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-08  4:00 how to use sincos()? Brian R. Hunt
1995-08-09  4:00 ` Brian R. Hunt [this message]
1995-08-11  4:00   ` Dave Eklund
1995-08-13  4:00     ` Dave Newbold
1995-08-09  4:00 ` Dave Eklund
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