math

introduction to mathematical library functions 

Function Summary


DESCRIPTION

These functions constitute the C math library, libm. The link editor searches this library under the -lm option. Declarations for these functions may be obtained from the include file <math.h>.

Name              		Description

acos()      		inverse trigonometric function
acosh()     		inverse hyperbolic function
asin()      		inverse trigonometric function
asinh()     		inverse hyperbolic function
atan()      		inverse trigonometric function
atanh()     		inverse hyperbolic function
atan2()     		inverse trigonometric function
cabs()      		complex absolute value
cbrt()      		cube root
ceil()      		integer no less than
copysign()  		copy sign bit
cos()       		trigonometric function
cosh()      		hyperbolic function
erf()       		error function
erfc()      		complementary error function
exp()       		exponential
expm1()     		exp(x)-1
fabs()      		absolute value
finite()    		test for finity
floor()     		integer no greater than
fmod()      		remainder
hypot()     		Euclidean distance
ilogb()     		exponent extraction
isinf()     		test for infinity
isnan()     		test for not-a-number
j0()        		bessel function
j1()        		bessel function
jn()        		bessel function
lgamma()    		log gamma function
log()       		natural logarithm
log10()     		logarithm to base 10
log1p()     		log(1+x)
nextafter() 		next representable number
pow()       		exponential x**y
remainder() 		remainder
rint()      		round to nearest integer
scalbn()    		exponent adjustment
sin()       		trigonometric function
sinh()      		hyperbolic function
sqrt()      		square root
tan()       		trigonometric function
tanh()      		hyperbolic function
y0()        		bessel function
y1()        		bessel function
yn()        		bessel function

NOTES

The math library can handle floating point exceptions in different ways depending upon the level of standards conformance that the user desires. The math library currently supports the following personality modes:

XOPEN
POSIX
SVID
IEEE

For details on these personality modes, see the _NutLibMSetLibraryType() reference page.


AVAILABILITY

MKS Toolkit for Professional Developers
MKS Toolkit for Enterprise Developers
MKS Toolkit for Enterprise Developers 64-Bit Edition


MKS Toolkit 9.2 Documentation Build 16.