CONTENTS | INDEX | PREV | NEXT
Math Functions
abs take absolute value of an int
labs take absolute value of a long
acos take arc cosine
asin take arc sine of a double
atan take arc tangent of a double
cos take cosine of a double
exp return e to the exponent
fabs take absolute value
facos take floating point arc cosine
fasin take floating point arc sine
fatan take floating point arc tangent
fcos take floating point cosine
fexp floating point exponent
ffabs return absolute value of float
flog take log of a float
flog10 take log of a float (base 10)
fpow return float to power of anothe
fsin return sine of a float
fsqrt return square root of a float
ftan return tan of a float
tan return tangent of a double
log take log of a double
log10 take log of a double (base 10)
pow return number to power of another
sin return sine of a double
sqrt return square root of a double
rand generate random number
srand set seed for random number
_divs signed long divide
_divu unsigned long divide
_mods signed long modulus
_modu unsigned long modulus
_muls unsigned long multiply
_mulu unsigned long multiply