Formula Primitive Functions
- Updated2023-04-26
- 3 minute(s) read
Formula Primitive Functions
The following list contains the names and descriptions of the Formula Primitive functions. All function names must be lowercase. You can also use operators.
| Function | Description |
|---|---|
| abs(x) | Returns the absolute value of x. |
| acos(x) | Computes the inverse cosine of x in radians. |
| acosh(x) | Computes the inverse hyperbolic cosine of x. |
| asin(x) | Computes the inverse sine of x in radians. |
| asinh(x) | Computes the inverse hyperbolic sine of x. |
| atan(x) | Computes the inverse tangent of x in radians. |
| atanh(x) | Computes the inverse hyperbolic tangent of x. |
| ceil(x) | Rounds x to the next higher integer (smallest integer >= x). |
| ci(x) | Evaluates the cosine integral for a non-negative x. |
| cos(x) | Computes the cosine of x, where x is in radians. |
| cosh(x) | Computes the hyperbolic cosine of x. |
| cot(x) | Computes the cotangent of x (1/tan(x)), where x is in radians. |
| csc(x) | Computes the cosecant of x (1/sin(x)), where x is in radians. |
| exp(x) | Computes the value of e raised to the x power. |
| expm1(x) | Computes one less than the value of e raised to the x power ((e^x) – 1). |
| floor(x) | Truncates x to the next lower integer (largest integer <= x). |
| gamma(x) | Evaluates the complete Gamma function for x. |
| getexp(x) | Returns the exponent of x. |
| getman(x) | Returns the mantissa of x. |
| int(x) | Rounds x to the nearest integer. |
| intrz(x) | Rounds x to the nearest integer between x and zero. |
| ln(x) | Computes the natural logarithm of x (to the base of e). |
| lnp1(x) | Computes the natural logarithm of (x + 1). |
| log(x) | Computes the logarithm of x (to the base of 10). |
| log2(x) | Computes the logarithm of x (to the base of 2). |
| pi(x) | Returns the product of and x.
|
| rand(x) | Produces a floating-point number between 0 and 1 exclusively. |
| rem(x,y) | Computes the remainder of x/y, when the quotient is rounded to the nearest integer. |
| sec(x) | Computes the secant of x, where x is in radians (1/cos(x)). |
| si(x) | Evaluates the sine interval for x. |
| sign(x) | Returns 1 if x > 0, returns 0 if x is equal to 0, and returns –1 if x < 0. |
| sin(x) | Computes the sine of x, where x is in radians. |
| sinc(x) | Computes the sine of x divided by x (sin(x)/x), where x is in radians. |
| sinh(x) | Computes the hyperbolic sine of x. |
| spike(x) | Generates the spike function for x. |
| step(x) | Generates the step functions for x. |
| square(x) | Generates the square function for x. |
| sqrt(x) | Computes the square root of x. |
| tan(x) | Computes the tangent of x, where x is in radians. |
| tanh(x) | Computes the hyperbolic tangent of x. |
and x.