Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

math(3M)

matherr(3M)

EXP(3M)                              BSD                               EXP(3M)



NAME
     exp, expm1, log, log10, log1p, pow - exponential, logarithm, power

SYNOPSIS
     #include <math.h>

     double exp(x)
     double x;

     double expm1(x)
     double x;

     double log(x)
     double x;

     double log10(x)
     double x;

     double log1p(x)
     double x;

     double pow(x,y)
     double x,y;

DESCRIPTION
     exp returns the exponential function of x.

     expm1 returns exp(x)-1 accurately even for tiny x.

     log returns the natural logarithm of x.

     log10 returns the logarithm of x to base 10.

     log1p returns log(1+x) accurately even for tiny x.

     pow(x,y) returns x**y.

SEE ALSO
     math(3M), matherr(3M)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026