04.06.2013 Views

iRMX C Library Reference - tenAsys

iRMX C Library Reference - tenAsys

iRMX C Library Reference - tenAsys

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ceil Calculates the ceiling (the smallest integer that is greater than or<br />

equal to the value) of a double value.<br />

cos Calculates the cosine.<br />

cosh Calculates the hyperbolic cosine of an angle.<br />

div Divides the numerator by the denominator, computing the<br />

quotient and the remainder of two integer values.<br />

exp Calculates the exponential of a double value.<br />

fabs Calculates the absolute value of a double value.<br />

floor Calculates the floor (largest integer that is less than or equal to a<br />

value) of a double value.<br />

fmod Calculates the floating-point remainder.<br />

frexp Gets the mantissa and exponent of a double value.<br />

labs Calculates the absolute value of a long integer.<br />

ldexp Computes a real number from the mantissa and exponent.<br />

ldiv Divides numerator by denominator, and computes the quotient<br />

and remainder.<br />

log Calculates the natural logarithm of a value.<br />

log10 Calculates the base-10 logarithm.<br />

matherr Processes errors generated by the functions of the math library.<br />

modf Splits a value into fractional and integer parts, retaining the sign.<br />

pow Computes a value raised to the power of another value.<br />

rand Generates a pseudo-random number.<br />

sin Calculates the sine.<br />

sinh Calculates the hyperbolic sine of an angle.<br />

sqrt Calculates the square root of a number.<br />

srand Sets the starting point for generating a series of pseudo-random<br />

integers.<br />

square Calculates the square of a number.<br />

tan Calculates the tangent.<br />

tanh Calculates the hyperbolic tangent of the number.<br />

C <strong>Library</strong> <strong>Reference</strong> Chapter 2 17

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!