sin(3m) v7 man page | unix.com

Man Page: sin

Operating Environment: v7

Section: 3m

SIN(3M) 																   SIN(3M)

NAME
sin, cos, tan, asin, acos, atan, atan2 - trigonometric functions
SYNOPSIS
#include <math.h> double sin(x) double x; double cos(x) double x; double asin(x) double x; double acos(x) double x; double atan(x) double x; double atan2(x, y) double x, y;
DESCRIPTION
Sin, cos and tan return trigonometric functions of radian arguments. The magnitude of the argument should be checked by the caller to make sure the result is meaningful. Asin returns the arc sin in the range -n/2 to n/2. Acos returns the arc cosine in the range 0 to n. Atan returns the arc tangent of x in the range -n/2 to n/2. Atan2 returns the arc tangent of x/y in the range -n to n.
DIAGNOSTICS
Arguments of magnitude greater than 1 cause asin and acos to return value 0; errno is set to EDOM. The value of tan at its singular points is a huge number, and errno is set to ERANGE.
BUGS
The value of tan for arguments greater than about 2**31 is garbage. SIN(3M)
Related Man Pages
atan2(3m) - bsd
cos(3m) - bsd
atan(3m) - ultrix
tan(3m) - ultrix
atan(3) - freebsd
Similar Topics in the Unix Linux Community
Passing Arguments in Shell Scripts
Need to create a simple script using MD5, SSH...
Help me pls : splitting single file in unix into different files based on data
Parsing a column of text file - best practices
Appending a column in xlsx file using Python