redhat man page for log

Query: log

OS: redhat

Section: 3

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

EXP(3)							     Linux Programmer's Manual							    EXP(3)

NAME
exp, log, log10, pow - exponential, logarithmic and power functions
SYNOPSIS
#include <math.h> double exp(double x); double log(double x); double log10(double x); double pow(double x, double y);
DESCRIPTION
The exp() function returns the value of e (the base of natural logarithms) raised to the power of x. The log() function returns the natural logarithm of x. The log10() function returns the base-10 logarithm of x. The pow() function returns the value of x raised to the power of y.
ERRORS
The log() and log10() functions can return the following errors: EDOM The argument x is negative. ERANGE The argument x is zero. The log of zero is not defined. The pow() function can return the following error: EDOM The argument x is negative and y is not an integral value. This would result in a complex number.
CONFORMING TO
SVID 3, POSIX, BSD 4.3, ISO 9899
SEE ALSO
sqrt(3), cbrt(3)
GNU
1993-06-16 EXP(3)
Related Man Pages
log(3) - freebsd
log13(3m) - bsd
pow(3m) - bsd
log2f(3) - freebsd
log1pl(3) - freebsd
Similar Topics in the Unix Linux Community
More complicated log parsing
Script to extract line from logfile
Authentication Failed Dialog Box on Redhat 4.7
Tried to change user name, now cannot log in
12-Core MacPro (2013) kernel_task over 1200%