Mathematical functions
This section lists the types of mathematical function. Mathematical functions are of following types:
- max/3—determine the maximum of two values
- min/3—determine the minimum of two values
- sign/2—determine whether a numeric value is positive, negative, or zero
- abs/2—determine the absolute value of a numeric value
- sqrt/2—determine the square root of a numeric value
- exp/2—raise e (2.718281828 .) to a specified power
- pow/3—raise a number to a specified power
- log/2—return the natural logarithm of a specified number
- log10/2—return the decimal logarithm of a specified number
- sin/2—return the sine of an angle
- cos/2—return the cosine of an angle
- tan/2—return the tangent of an angle
- asin/2—return the arc sine of a specified number
- acos/2—return the arc cosine of a specified number
- atan/2—return the arc tangent of a specified number
- atan2/3—return the arc tangent of the ratio of two numbers
- gcd/3—return the greatest common divisor of two numbers
- random/3—return a random integer that falls between two specified numbers
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.