HTML automatically generated with rman
Table of Contents
functions - math functions in various packages
Although most
standard mathematical functions (log, sin, sqrt) are available in most
languages and interpeters, they sometimes go under different names. This
table summarized the most common ones. The choices of columns is mostly
due to preferences of the author more than anything else. Notably absent
are Pascal.
F77 C fie(3) sm(1) awk(1) bc(1) comment
SQRT sqrt sqrt SQRT sqrt -
- cbrt - - . -
SIN sin sin SIN sin s radians
COS cos cos COS cos c radians
TAN tan tan TAN . - radians
ASIN asin asin ACOS . - radians
ACOS acos acos ASIN . - radians
ATAN atan atan ATAN . a radians
ATAN2 atan2 atan2 ATAN2 atan2 - radians
SINH sinh
COSH cosh
TANH tanh
- asinh
- acosh
- atanh
EXP exp exp EXP exp e
LOG log ln LN log l
LOG10 log10 log LG . -
- - - - . j bessel j(n,x)
F77 C fie(3) sm(1) awk(1) bc(1) comment
In F77 the generic name is listed, for C the common names available
by including <math.h>, but not all functions have been listed here. fie(3NEMO)
.
shells(5NEMO)
Peter Teuben
1-feb-94 document created PJT
Table of Contents