sinf.3p 621 Bytes
.TH sin 3P local "Silicon Graphics, Inc."
.SH NAME
.upperok
sinf, sins \- compute the sine of an angle in floating point or fix point.
.SH C SPECIFICATION
.nf
\f3#include "gu.h"

float sinf(float angle);

short sins(unsigned short angle);

\fP
.fi
.SH PARAMETERS
.TP 10
.I angle
For 
.B sinf, 
angle is in radians. For 
.B sins,
0-0xffff represent 0-2PI.
.SH DESCRIPTION
.B sinf 
computes the sine, given angle in radians and using polynomial approximation.
.B sins 
computes the sine, using a table lookup in dram, returning
the result in s.15 fixed-point format.
.SH SEE ALSO
.IR coss (3P)
.IR cosf (3P)
.IR sqrtf (3P)