List of mathematical $functions
As of version 6.9, the Sirius Mods contains the following high-performance, high-precision versions of the IBM mathematical functions available in User Language.
See Notation conventions for methods for information about the conventions followed in the method descriptions.
$Function | Description |
---|---|
$Abs(x) | Absolute value |
$ArcCos(x) | Inverse cosine |
$ArcSin(x) | Inverse sine |
$ArcTan(x) | Arctangent |
$ArcTan2(x,y) | Arctangent of x/y |
$Cos(x) | Cosine of radian argument |
$CosH(x) | Hyperbolic cosine |
$Cotan(x) | Cotangent |
$Erf(x) | Error function |
$ErfC(x) | Complement error function |
$Exp(x) | Get natural exponent of a number |
$Exp2(x) | Get 2's exponent of a number |
$Exp10(x) | Get 10's exponent of a number |
$Gamma(x) | Gamma function |
$IxPI(x) | Integer base, integer exponent |
$LGamma(x) | Log gamma function |
$Log(x) | Get natural log of a number |
$Log2(x) | Get log base 2 of a number |
$Log10(x) | Get log base 10 of a number |
$Max(x1,x2,x3,x4,x5,x6,x7,x8) | Return maximum of specified arguments |
$Min(x1,x2,x3,x4,x5,x6,x7,x8) | Return minimum of specified arguments |
$Pi | Value of pi |
$RxPI(x) | Real base, integer exponent |
$RxPR(x) | Real base, real exponent |
$Sin(x) | Sine of radian argument |
$SinH(x) | Hyperbolic sine |
$Sqrt(x) | Square root of positive argument |
$Tan(x) | Tangent |
$TanH(x) | Hyperbolic tangent |