From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3dc050a3099d6072,start X-Google-Attributes: gidfee84,public From: bhunt@brians.umd.edu (Brian R. Hunt) Subject: how to use sincos()? Date: 1995/08/08 Message-ID: #1/1 X-Deja-AN: 107683066 organization: Project GLUE, University of Maryland, College Park, MD newsgroups: comp.unix.osf.osf1 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? -- Brian R. Hunt bhunt@ipst.umd.edu