Programming language Chora: Built-in functions
Chora provides a set of built-in functions useful for diverse and common mathematical calculations. Following functions are available:
Function name |
Short description |
---|---|
Calculates the arccosine of a value. |
|
Calculates the arcsine of a value. |
|
Calculates the arctangent of a value. |
|
Calculates the arctangent for a point. |
|
Rounds to the next highest integer value. |
|
Calculates the cosine value. |
|
Calculates an exponential expression with Euler's number as base. |
|
Rounds to the next lowest integer value. |
|
Calculates the fractional part of number. |
|
Calculates the length of a 2D vector. |
|
Calculates the natural logarithm. |
|
Calculates the base 10 logarithm. |
|
Returns the largest value. |
|
Returns the lowest value. |
|
Calculates an exponential expression. |
|
Generates a random value. |
|
Rounds to the next lowest or highest integer value. |
|
Calculates the sine value. |
|
Calculates a square root of a value. |
|
Calculates the tangent value. |
|
Rounds by removing the fractional part. |
|
Returns the Negative Infinity (-INF) floating point value. |
|
Returns the Positive Infinity (+INF) floating point value. |
|
Returns the Not a Number (NAN) floating point value. |
|
Verifies whether an object is the primary object within the actual prototyping session. |
|
Verifies whether an object is the primary object within the actual prototyping session or an object embedded within the primary object. |