v7 man page for exp

Query: exp

OS: v7

Section: 3m

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

EXP(3M) 																   EXP(3M)

NAME
exp, log, log10, pow, sqrt - exponential, logarithm, power, square root
SYNOPSIS
#include <math.h> double exp(x) double x; double log(x) double x; double log10(x) double x; double pow(x, y) double x, y; double sqrt(x) double x;
DESCRIPTION
Exp returns the exponential function of x. Log returns the natural logarithm of x; log10 returns the base 10 logarithm. Pow returns xy. Sqrt returns the square root of x.
SEE ALSO
hypot(3), sinh(3), intro(2)
DIAGNOSTICS
Exp and pow return a huge value when the correct value would overflow; errno is set to ERANGE. Pow returns 0 and sets errno to EDOM when the second argument is negative and non-integral and when both arguments are 0. Log returns 0 when x is zero or negative; errno is set to EDOM. Sqrt returns 0 when x is negative; errno is set to EDOM. EXP(3M)
Related Man Pages
log13(3m) - bsd
exp(3m) - ultrix
log(3m) - ultrix
log10(3) - netbsd
log1p(3) - netbsd
Similar Topics in the Unix Linux Community
What editor does everyone use?
Pop up dialog box on remote computers
Script on pattern matching and print lines and export to excel
Grep expression between double quotes
Tilde prefix returns invalid home directory.