File:  [CSRG BSD Unix] / 43BSD / contrib / icon / man / man3 / math.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 MATH 3.icon "The University of Arizona \- 8/12/84"
.SH NAME
exp, log, log10, sqrt \- miscellaneous math functions
.SH SYNOPSIS
.nf
.sp
\*Mexp(x)\fR
\*Mlog(x)\fR
\*Mlog10(x)\fR
\*Msqrt(x)\fR
.fi
.SH DESCRIPTION
\*Mexp\fR returns \fIe\u\*Mx\d\fR.
.LP
\*Mlog\fR returns the natural logarithm of \*Mx\fR.
.LP
\*Mlog10\fR returns the base-10 logarithm of \*Mx\fR.
.LP
\*Msqrt\fR returns the square root of \*Mx\fR.
.LP
The C math library (\*M\-lm\fR )must be loaded with these functions.
.SH DIAGNOSTICS
Run-time error 251 occurs if \*Mx\fR is zero or negative in \*Mlog\fR or \*Mlog10\fR.
.LP
Run-time error 252 occurs for overflow in \*Mexp\fR.
.SH SEE ALSO
exp(3m)
.SH AUTHORS
Ralph E. Griswold

unix.superglobalmegacorp.com

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