plan9 man page for sin

Query: sin

OS: plan9

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

SIN(2)								System Calls Manual							    SIN(2)

NAME
sin, cos, tan, asin, acos, atan, atan2 - trigonometric functions
SYNOPSIS
#include <u.h> #include <libc.h> double sin(double x) double cos(double x) double tan(double x) double asin(double x) double acos(double x) double atan(double x) double atan2(double y, double x)
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 sine in the range -n/2 to n/2. Acos returns the arc cosine in the range 0 to n. Atan returns the arc tangent in the range -n/2 to n/2. Atan2 returns the arc tangent of y/x in the range -n to n.
SOURCE
/sys/src/libc/port
SEE ALSO
intro(2)
BUGS
The value of tan for arguments greater than about 2^-31 is garbage. SIN(2)
Related Man Pages
acos(3m) - bsd
tan(3m) - bsd
acos(3m) - ultrix
atan(3m) - ultrix
atan(3) - freebsd
Similar Topics in the Unix Linux Community
Parse a string in XML file using shell script
Need to create a simple script using MD5, SSH...
Using arrays in bash using strings to bash built-in true
Help me pls : splitting single file in unix into different files based on data
Parsing a column of text file - best practices