*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: sincos | Section: 3 | Source: OpenBSD | File: sincos.3
SINCOS(3) FreeBSD Library Functions Manual SINCOS(3) NAME sincos, sincosf, sincosl - sine and cosine functions SYNOPSIS #include <math.h> void sincos(double x, double *s, double *c); void sincosf(float x, float *s, float *c); void sincosl(long double x, long double *s, long double *c); DESCRIPTION The sincos(), sincosf(), and sincosl() functions compute the sine and cosine of x. Using these functions allows argument reduction to occur only once instead of twice with individual invocations of sin() and cos(). Like sin() and cos(), a large magnitude argument may yield a result with little or no significance. RETURN VALUES Upon returning from sincos(), sincosf(), and sincosl(), the objects pointed to by s and c are assigned the values of sine and cosine, respectively. SEE ALSO cos(3), sin(3) HISTORY These functions first appeared in OpenBSD 6.3. FreeBSD 14.1-RELEASE-p8 June 29, 2021 FreeBSD 14.1-RELEASE-p8

Navigation Options