Content-type: text/html Man page of sincos

sincos

Section: Mathematical Library Functions (3M)
Updated: 12 Jul 2006
Index Return to Main Contents
 

NAME

sincos, sincosf, sincosl - combined sine and cosine function  

SYNOPSIS

c99 [ flag... ] file... -lm [ library... ]
#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

These functions compute the sine and cosine of the first argument x, measured in radians.  

RETURN VALUES

Upon successful completion, these functions return the sine of x in *s and cosine of x in *c.  

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
Interface StabilityStable
MT-LevelMT-Safe

 

SEE ALSO

cos(3M), sin(3M), math.h(3HEAD), attributes(5)


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
ATTRIBUTES
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 02:39:32 GMT, October 02, 2010