Numeric functions in perl

by kalai 2008-11-22 20:26:38


* abs - absolute value function
* atan2 - arctangent of Y/X in the range -PI to PI
* cos - cosine function
* exp - raise I to a power
* hex - convert a string to a hexadecimal number
* int - get the integer portion of a number
* log - retrieve the natural logarithm for a number
* oct - convert a string to an octal number
* rand - retrieve the next pseudorandom number
* sin - return the sine of a number
* sqrt - square root function
* srand - seed the random number generator

Tagged in:

1288
like
0
dislike
0
mail
flag

You must LOGIN to add comments