Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ math(3M) — AOS 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

MATH(3M)  —  

NAME

math − introduction to mathematical library functions

DESCRIPTION

These functions constitute the math library, libm.  They are automatically loaded as needed by the FORTRAN compiler bf77(1) and the optimizing compiler hf77(1).  The link editor searches this library under the −lm option.  Declarations for these functions may be obtained from the include file <math.h>. 

LIST OF FUNCTIONS

NameAppears on PageDescription
acossin(3M)inverse trigonometric functions
acoshasinh(3M)inverse hyperbolic functions
asinsin(3M)inverse trigonometric functions
asinhasinh(3M)inverse hyperbolic functions
atansin(3M)inverse trigonometric functions
atanhasinh(3M)inverse hyperbolic functions
atan2sin(3M)inverse trigonometric functions
cabshypot(3M)complex absolute value
cbrtsqrt(3M)cube root
ceilfloor(3M)integer no less than
cossin(3M)trigonometric function
coshsinh(3M)hyperbolic function
erferf(3M)error function
erfcerf(3M)complementary error function
expexp(3M)exponential
expm1exp(3M)exp(x) − 1
fabsfloor(3M)absolute value
floorfloor(3M)integer no greater than
gammalgamma(3M)name changed to lgamma
hypothypot(3M)Euclidean distance
j0j0(3M)bessel function
j1j0(3M)bessel function
jnj0(3M)bessel function
lgammalgamma(3M)log gamma function (formerly gamma(3M))
logexp(3M)natural logarithm
log10exp(3M)logarithm to base 10
log1pexp(3M)log(1+x)
powexp(3M)exponential x∗∗y
sinsin(3M)trigonometric function
sinhsinh(3M)hyperbolic functions
sqrtsqrt(3M)square root
tansin(3M)trigonometric function
tanhsinh(3M)hyperbolic function
y0j0(3M)bessel function
y1j0(3M)bessel function
ynj0(3M)bessel function

BUGS

Functions in the math library should set errno when the function is undefined for given arguments or when the function value is not representable; in some cases this is not done.  It is done, however, for all instances mentioned in the “Diagnostics” sections of 3M man pages. 

SEE ALSO

“Floating Point Arithmetic” in Volume II, Supplementary Documents . 

PRPQs 5799-WZQ/5799-PFF: IBM/4.3  —  Sept 1988

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