EXP(3M) — Kubota Pacfic Computer Inc. (Math Libraries)
NAME
exp, log, log10, pow, sqrt, cbrt − exponential, logarithm, power, square root functions
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;
double cbrt (x)
double x;
DESCRIPTION
exp returns ex.
log returns the natural logarithm of x. The value of x must be positive.
log10 returns the logarithm base ten of x. The value of x must be positive.
pow returns xy. If x is zero, y must be positive. If x is negative, y must be an integer.
sqrt returns the non-negative square root of x. The value of x may not be negative.
cbrt returns the cube root of x.
SEE ALSO
DIAGNOSTICS
exp returns Infinity when the correct value would overflow, or 0 when the correct value would underflow.
log and log10 return NaN when x is non-positive.
pow returns NaN when x is 0 and y is non-positive, or when x is negative and y is not an integer. When the correct value for pow would overflow or underflow, pow returns Infinity or 0 respectively
sqrt and cbrt return NaN.
September 02, 1992