plan9 man page for exp

Query: exp

OS: plan9

Section: 2

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

EXP(2)								System Calls Manual							    EXP(2)

NAME
exp, log, log10, pow, pow10, sqrt - exponential, logarithm, power, square root
SYNOPSIS
#include <u.h> #include <libc.h> 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.
SOURCE
All these routines have portable C implementations in /sys/src/libc/port. Most also have machine-dependent implementations, written either in assembler or C, in /sys/src/libc/$objtype.
SEE ALSO
hypot(2), sinh(2), intro(2) EXP(2)
Related Man Pages
expm1(3m) - bsd
log(3m) - bsd
log10l(3) - freebsd
log10(3) - freebsd
log2f(3) - freebsd
Similar Topics in the Unix Linux Community
Should we expand the forums?
Bits - The Unix and Linux Forums (Experimental) Virtual Currency
AWK Script Issue insert newline for a regular expression match
Tilde prefix returns invalid home directory.
awk command not working as expected