Unix/Linux Go Back    

Plan 9 - man page for exp (plan9 section 2)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

EXP(2)											   EXP(2)

       exp, log, log10, pow, pow10, sqrt - exponential, logarithm, power, square root

       #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)

       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.

       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

       hypot(2), sinh(2), intro(2)

Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 11:31 PM.