Function | Header File | Page | Description |
---|---|---|---|
abs() | stdlib.h | "abs() -- Calculate Integer Absolute Value" | Calculates the absolute value of an integer. |
ceil() | math.h | "ceil() -- Find Integer >=Argument" | Calculates the double value representing the smallest integer that is greater than or equal to a number. |
div() | stdlib.h | "div() -- Calculate Quotient and Remainder" | Calculates the quotient and remainder of an integer. |
erf() | math.h | "erf() - erfc() -- Calculate Error Functions" | Calculates the error function. |
erfc() | math.h | "erf() - erfc() -- Calculate Error Functions" | Calculates the error function for large numbers. |
exp() | math.h | "exp() -- Calculate Exponential Function" | Calculates an exponential function. |
fabs() | math.h | "fabs() -- Calculate Floating-Point Absolute Value" | Calculates the absolute value of a floating-point number. |
floor() | math.h | "floor() --Find Integer <=Argument" | Calculates the double value representing the largest integer that is less than or equal to a number. |
fmod() | math.h | "fmod() -- Calculate Floating-Point Remainder" | Calculates the floating point remainder of one argument divided by another. |
frexp() | math.h | "frexp() -- Separate Floating-Point Value" | Separates a floating-point number into its mantissa and exponent. |
gamma() | math.h | "gamma() -- Gamma Function" | Calculates the gamma function. |
hypot() | math.h | "hypot() -- Calculate Hypotenuse" | Calculates the hypotenuse. |
labs() | stdlib.h | "labs() -- llabs() -- Calculate Absolute Value of Long and Long Long Integer" | Calculates the absolute value of a long integer. |
llabs() | stdlib.h | "labs() -- llabs() -- Calculate Absolute Value of Long and Long Long Integer" | Calculates the absolute value of a long long integer. |
ldexp() | math.h | "ldexp() -- Multiply by a Power of Two" | Multiplies a floating-point number by an integral power of 2. |
ldiv() | stdlib.h | "ldiv() -- lldiv() -- Perform Long and Long Long Division" | Calculates the quotient and remainder of a long integer. |
lldiv() | stdlib.h | "ldiv() -- lldiv() -- Perform Long and Long Long Division" | Calculates the quotient and remainder of a long long integer. |
log() | math.h | "log() -- Calculate Natural Logarithm" | Calculates natural logarithm. |
log10() | math.h | "log10() -- Calculate Base 10 Logarithm" | Calculates base 10 logarithm. |
modf() | math.h | "modf() -- Separate Floating-Point Value" | Calculates the signed fractional portion of the argument. |
pow() | math.h | "pow() -- Compute Power" | Calculates the value of an argument raised to a power. |
sqrt() | math.h | "sqrt() -- Calculate Square Root" | Calculates the square root of a number. |
Trigonometric Functions
Function | Header File | Page | Description |
---|---|---|---|
acos() | math.h | "acos() -- Calculate Arccosine" | Calculates the arc cosine. |
asin() | math.h | "asin() -- Calculate Arcsine" | Calculates the arc sine. |
atan() | math.h | "atan() - atan2() -- Calculate Arctangent" | Calculates the arc tangent. |
atan2() | math.h | "atan() - atan2() -- Calculate Arctangent" | Calculates the arc tangent. |
cos() | math.h | "cos() -- Calculate Cosine" | Calculates the cosine. |
cosh() | math.h | "cosh() -- Calculate Hyperbolic Cosine" | Calculates the hyperbolic cosine. |
sin() | math.h | "sin() -- Calculate Sine" | Calculates the sine. |
sinh() | math.h | "sinh() -- Calculate Hyperbolic Sine" | Calculates the hyperbolic sine. |
tan() | math.h | "tan() -- Calculate Tangent" | Calculates the tangent. |
tanh() | math.h | "tanh() -- Calculate Hyperbolic Tangent" | Calculates the hyperbolic tangent. |
Function | Header File | Page | Description |
---|---|---|---|
j0() | math.h | "Bessel Functions" | 0 order differential equation of the first kind. |
j1() | math.h | "Bessel Functions" | 1st order differential equation of the first kind. |
jn() | math.h | "Bessel Functions" | nth order differential equation of the first kind. |
y0() | math.h | "Bessel Functions" | 0 order differential equation of the second kind. |
y1() | math.h | "Bessel Functions" | 1st order differential equation of the second kind. |
yn() | math.h | "Bessel Functions" | nth order differential equation of the second kind. |
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.