| Method Prototype | Description
|
| Abs( value As Double ) As Double | compute the absolute (i.e. unsigned) value of any number
|
| ACos( value As Double ) As Double | compute the arccosine of a number from -1 to 1
|
| ASin( value As Double ) As Double | compute the arcsine of a number from -1 to 1
|
| ATan( value As Double ) As Double | compute the arctangent of any number
|
| ATan2( y As Double, x As Double ) As Double | compute the angle (in radians) between the X axis to the given point (x,y)
|
| Ceil( value As Double ) As Double | find the closest integer greater than or equal to the given value
|
| Cos( value As Double ) As Double | compute the cosine of an angle
|
| Exp( power As Double ) As Double | compute the exponential function, i.e. e raised to the given power
|
| Floor( value As Double ) As Double | find the closest integer less than or equal to the given value
|
| Log( value As Double ) As Double | compute the natural logarithm of a positive number
|
| Max( n1 As Double, ParamArray others As Double ) As Double | find the greatest of two or more numbers
|
| Min( n1 As Double, ParamArray others As Double ) As Double | find the least of two or more numbers
|
| Pow( base As Double, exponent As Double ) As Double | equivalent to base ^ exponent
|
| Rnd As Double | return a uniformly distributed pseudorandom number from 0 to 1 (see also Random)
|
| Round( value As Double ) As Double | round the given number to the nearest integer
|
| Sin( value As Double ) As Double | compute the sine of an angle
|
| Sqrt( value As Double ) As Double | compute the square root of a nonnegative number
|
| Tan( value As Double ) As Double | compute the tangent of an angle
|
These are the basic math functions built into Yuma. Trigonometric functions all take or return angles in radians, not degrees.
Invalid arguments (such as Log(-1), for example) will result in error values, which if passed through