File:  [CSRG BSD Unix] / 43BSD / contrib / icon / man / man3 / trig.3
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:55 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43
BSD 4.3

.so tmac.ilib
.TH TRIG 3.icon "The University of Arizona \- 8/12/84"
.SH NAME
sin, cos, tan, asin, acos, atan, atan2, dtor, rtod \- trigonometric functions
.SH SYNOPSIS
.nf
.sp
\*Msin(x)\fR
\*Mcos(x)\fR
\*Mtan(x)\fR
\*Masin(x)\fR
\*Macos(x)\fR
\*Matan(x)\fR
\*Matan2(x,\*by)\fR
\*Mdtor(x)\fR
\*Mrtod(x)\fR
.fi
.SH DESCRIPTION
\*Msin\fR, \*Mcos\fR, and \*Mtan\fR return trigonometric functions of
radian arguments. The magnitude of the argument should be checked by
the caller to make sure that the result is meaningful.
.LP
\*Masin\fR returns the arc sin in the range \-\(*p/2 to \(*p/2.
.LP
\*Macos\fR returns the arc cosine in the range 0 to \(*p.
.LP
\*Matan\fR returns the arc tangent in the range \-\(*p/2 to \(*p/2.
.LP
\*Matan2\fR returns the tangent of \*Mx\fR/\*My\fR in the range \-\(*p to \(*p.
.LP
\*Mdtor\fR converts degrees to radians, while \*Mrtod\fR converts radians
to degrees.
.LP
The C math library (\*M\-lm\fR)  must be loaded with these functions.
.SH DIAGNOSTICS
Run-time error 251 occurs if the magnitude of the argument to \*Masin\fR or \*Macos\fR
is greater than 1.
.LP
Run-time error 252 occurs for the singular points of \*Mtan\fR.
.SH BUGS
The value of \*Mtan\fR for arguments greater than about 2\u\s-2\&31\s0\d
is garbage.
.SH SEE ALSO
sin(3m)
.SH AUTHORS
Ralph E. Griswold and Stephen B. Wampler

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.