#include <MATH.H>
Link against:
estlib.lib
HUGE_VAL 1.7976931348623157E+308
Description
IMPORT_C double atan(double);
Description
Calculate arctangent. Performs the trigonometric arctangent operation on x and returns an angle in the range from -PI/2 to
PI/2 expressed in radians.
Parameters
double |
Value whose arctangent has to be calculated.
|
|
Return value
double |
Arctangent of arg1.
|
|
IMPORT_C double cos(double);
Description
Calculate cosine. Performs the trigonometric cosine operation on x returning a value between -1 and 1.
Parameters
double |
Angle expressed in radians (180 degrees = PI radians).
|
|
Return value
IMPORT_C double sin(double);
Description
Calculate sine. Performs the trigonometric sine operation on x returning a value between -1 and 1.
Parameters
double |
Angle expressed in radians (180 degrees = PI radians).
|
|
Return value
IMPORT_C double tan(double);
Description
Calculate tangent. Performs the trigonometric tangent operation on arg1.
Parameters
double |
Angle expressed in radians (180 degrees = PI radians).
|
|
Return value
IMPORT_C double tanh(double);
Description
Calculate hyperbolic tangent.
Parameters
double |
Angle expressed in radians (180 degrees = PI radians).
|
|
Return value
double |
hyperbolic tangent of x.
|
|
IMPORT_C double frexp(double, int *);
Description
Get mantissa and exponent of floating-point value. Calculates mantissa (a floating-point value between 0.5 and 1) and exponent
(an integer value) where x is parameter x, mantissa is the value returned by the function and exponent is set by the function
at location pointed by eptr.
Parameters
double |
Floating point value
|
int * |
Location where to exponent will be received.
|
|
Return value
IMPORT_C double modf(double, double *);
Description
Split floating-point value into fractional and integer parts. Breaks x in two parts: the integer (stored in location pointed
by iptr) and the fraction (return value).
Parameters
double |
Floating point value.
|
double * |
Location where the integer part of x will be stored.
|
|
Return value
double |
Fractional part of x
|
|
IMPORT_C double ceil(double);
Description
Round up a value. Returns the smallest integer that is greater or equal to x
Parameters
double |
Floating point value
|
|
Return value
IMPORT_C double fabs(double);
Description
Return absolute value of floating-point. Returns the absoulte value of parameter x. /x/
Parameters
double |
Floating point value.
|
|
Return value
double |
Absoulte value of x.
|
|
IMPORT_C double floor(double);
Description
Round down value. Returns the largest integer that is less than or equal to x
Parameters
double |
Floating point value
|
|
Return value
IMPORT_C double acos(double);
Description
Calculate arccosine. Performs the trigonometric arc cosine operation on x and returns an angle in the range from 0 to PI expressed
in radians.
Parameters
double |
Value between -1 and 1 whose arc cosine has to be calculated.
|
|
Return value
double |
Arc cosine of arg1.
|
|
IMPORT_C double asin(double);
Description
Calculate arcsine. Performs the trigonometric arc sine operation on x and returns an angle in the range from -PI/2 to PI/2
expressed in radians.
Parameters
double |
Value between -1 and 1 whose arc sine has to be calculated.
|
|
Return value
IMPORT_C double atan2(double, double);
Description
Calculate arctangent, 2 parameters. Performs the trigonometric arctangent operation on y/x and returns an angle in the range
from -PI to PI expressed in radians, using the signs of the parameters to determine the quadrant. The result is valid even
if arg2 is 0 (angle is PI/2 or -PI/2). In fact this function returns the angle of bidimensional vector (arg2,arg1).
Parameters
double |
and arg2.Values from whose division has to be calculated the arctangent.i.e.: Coordinates for the vector whose angle is to
be calculated.
|
double |
|
|
Return value
double |
Arctangent of arg1/arg2.
|
|
IMPORT_C double cosh(double);
Description
Parameters
Return value
IMPORT_C double sinh(double);
Description
Parameters
Return value
IMPORT_C double exp(double);
Description
Calculate exponential. Returns the exponential value of parameter arg1.
Parameters
double |
Floating point value.
|
|
Return value
double |
Exponential of arg1
|
|
IMPORT_C double ldexp(double, int);
Description
Get floating-point value from mantissa and exponent. Calculates the floating point value corresponding to the given mantissa
and exponent
Parameters
double |
|
int |
Integer exponent
|
|
Return value
double |
Floating-point value equal to value * 2exp.
|
|
IMPORT_C double log(double);
Description
Calculate natural logarithm. Returns the natural logarithm of parameter arg1
Parameters
double |
Floating point value.
|
|
Return value
double |
Logarithm of arg1.
|
|
IMPORT_C double log10(double);
Description
Calculate logarithm base 10. Returns the logarithm base 10 of parameter arg1
Parameters
double |
Floating point value.
|
|
Return value
double |
Logarithm base 10 of arg1
|
|
IMPORT_C double pow(double, double);
Description
Calculate numeric power. Returns arg1 raised to the power of arg2.
Parameters
double |
- Base value.
|
double |
- Exponent value.
|
|
Return value
double |
arg1 raised to the power of arg2.
|
|
IMPORT_C double sqrt(double);
Description
Calculate square root. Returns the square root of parameter arg1.
Parameters
double |
Non-negative floating point value.
|
|
Return value
double |
Square root of arg1
|
|
IMPORT_C double fmod(double, double);
Description
Return remainder of floating point division. Performs division arg1/arg2 and returns the remainder of the operation.
Parameters
double |
and arg2 - Floating point values
|
double |
|
|
Return value
double |
Remainder of arg1/arg2.
|
|
IMPORT_C double copysign(double, double);
Description
Constructs a number with the magnitude (absolute value) of its first argument, x, and the sign of its second argument y.
Parameters
double |
magnitude
|
double |
sign bit
|
|
Return value
double |
a value with the magnitude of x and with the sign bit of y.
|
|
IMPORT_C double expm1(double);
Description
Calculate the exponential of x and subtract 1 that is raised to the power x minus 1
Parameters
Return value
double |
e raised to the power x, minus 1.
|
|
IMPORT_C int finite(double);
Description
Test for finity.
Parameters
double |
floating point value to test.
|
|
Return value
int |
a nonzero value if the x parameter is a finite number; that is, if d is not +-, INF, NaNQ, or NaNS.
|
|
IMPORT_C int isnan(double);
Description
tests whether d is NaN
Parameters
double |
floating point value.
|
|
Return value
int |
non-zero if d is NaN. Otherwise, 0 is returned.
|
|
IMPORT_C int isinf(double);
Description
test for infinity or not-a-number
Parameters
double |
floating point value to test.
|
|
Return value
int |
1 if the number d is Infinity, otherwise 0.
|
|
IMPORT_C double rint(double);
Description
Round to integral value in floating-point format
Parameters
double |
floating point value to round.
|
|
Return value
double |
the integral value (represented as a double precision number) nearest to arg1 according to the prevailing rounding mode.
|
|
IMPORT_C double scalbn(double, int);
Description
Scales x by n, returning x times 2 to the power n. The result is computed by manipulating the exponent, rather than by actually
performing an exponentiation or multiplication.
Parameters
double |
floating point value
|
int |
integer power
|
|
Return value
double |
x times 2 to the power n.
|
|