EXP(2) EXP(2)
NAME
exp, log, log10, pow, pow10, sqrt - exponential, logarithm,
power, square root
SYNOPSIS
double exp(double x)
double log(double x)
double log10(double x)
double pow(double x, double y)
double pow10(int n)
double sqrt(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 x^y, and pow10 returns 10^n as a double.
Sqrt returns the square root of x.
SEE ALSO
hypot(2), sinh(2), intro(2)
Page 1 Plan 9 (printed 11/6/25)