tanpil3
Half–cycle tangent functions
Part of tanpi(3).
Usage
#include <math.h>
double
tanpi(double x);
float
tanpif(float x);
long double
tanpil(long double x);
Library
Math Library (libm, -lm)
Overview
The tanpi(), tanpif(), and tanpil() functions compute the tangent of π × x and measure angles in half-cycles.
Return values
The tanpi(), tanpif(), and tanpil() functions returns tan(π × 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
tanpi(0)-
returns 0.
tanpi(n)-
returns 0 for positive integers n.
tanpi(n/2)-
returns for n > 0 and raises an FE_INVALID exception.
tanpi(∞)-
return an and raises an FE_INVALID exception.
tanpi()-
return an and raises an FE_INVALID exception.
Releases
14 releases since FreeBSD 13.1-RELEASE; the text changed 5 times.