Concept Framework 2.2 documentation Contents | Index

standard.C.math

Static library name Version Deprecated
standard.C.math version 1.0 no

Import library : standard.C.math
(you must include this at the top of your source: "import standard.C.math" (no quotes)


Description:
Basic mathematical function borrowed from C.


Contained static functions:
abs The abs function returns the absolute value of its parameter
acos Returns the arccosine of cosine in the range 0 to M_PI/2 radians
asin Returns the arcsine of sine in the range -M_PI/2 to M_PI/2 radians
atan Returns the arctangent of tangent in the range of -M_PI/2 to M_PI/2 radians
ceil Returns a number representing the smallest value that is greater than or equal to n
cos Returns the cosine of the specified angle
exp Returns the exponential value of the parameter, if successful
fabs Returns the absolute value of its argument
floor Returns a number representing the largest value that is less than or equal to n
fmod Returns the remainder (floating-point) of x / y
labs Returns the absolute value of its argument
ldexp Computes a real number from the mantissa and exponent
log Returns the natural logarithm of n if successful
log10 Returns the base-10 logarithm of n if successful
number_format Format number with decimals decimals, dec_point instead of a dot before the decimals and thousands_sep instead of a comma (",") between every group of thousands
pow The pow function computes x raised to the power of y
rand Returns a pseudorandom number
round Get the rounded value of val to specified precision (number of digits after the decimal point)
sin Returns the sine of the specified angle
sqrt The sqrt function returns the square-root of x
srand The srand function sets the starting point for generating a series of pseudorandom integers
tan Calculate the tangent of the specified angle




Documented by Simona Gabriela Plesuvu, generation time: Sun Jan 27 18:15:14 2013 GMT(c)2013 Devronium Applications