sinpi3
Half–cycle sine functions
Usage
#include <math.h>
double
sinpi(double x);
float
sinpif(float x);
long double
sinpil(long double x);
Library
Math Library (libm, -lm)
Overview
The sinpi(), sinpif(), and sinpil() functions compute the sine of π × x. and measure angles in half-cycles.
Return values
The sinpi(), sinpif(), and sinpil() functions returns sin(π × x). If x 2^(p - 1) where p is the floating–point precision of x, then the returned value is 0 and it has no significance.
Special values
sinpi(0)-
returns 0.
sinpi(n)-
returns 0 for positive integers n.
sinpi(∞)-
return an and raises an FE_INVALID exception.
sinpi()-
return an and raises an FE_INVALID exception.
Releases
14 releases since FreeBSD 13.1-RELEASE; the text changed 5 times.