*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: sin | Section: 3 | Source: UNIX v7 | File: sin.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 -<pi>/2 to <pi>/2. Acos returns the arc cosine in the range 0 to <pi>. Atan returns the arc tangent of x in the range -<pi>/2 to <pi>/2. Atan2 returns the arc tangent of x/y in the range -<pi> to <pi>. 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)

Navigation Options