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