Programming language Chora: Built-in functions

Chora provides a set of build-in functions useful for common mathematical calculations. Following functions are available:

Function name

Short description

math_acos()

Calculates the arccosine of a value.

math_asin()

Calculates the arcsine of a value.

math_ceil()

Rounds to the next highest integer value.

math_cos()

Calculates the cosine value.

math_floor()

Rounds to the next lowest integer value.

math_pow()

Calculates an exponential expression.

math_rand()

Generates a random value.

math_round()

Rounds to the next lowest or highest integer value.

math_sin()

Calculates the sine value.

math_sqrt()

Calculates a square root of a value.

EwIsPrimaryObject()

Verifies whether an object is the primary object within the actual prototyping session.

EwIsSecondaryObject()

Verifies whether an object is the primary object within the actual prototyping session or an ebject embedded within the primary object.