4.3BSD/usr/contrib/icon/man/man3/math.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