Functions > Basic Calculations

01. fact | 02. gcd | 03. IEEERem | 04. lcm |

05. prod | 06. rem | 07. sqrt | 08. sum |

Calculates factorial of the given value(s).

Calculates the Greatest Common Divisor of two or more values.

Expects two arguments. Calculates IEEE Remainder after dividing the first argument by the second argument. The returned values are calculated differently from the '%' operator. Consider the following examples:

>> IEEERem (3, 1.6)

>> -0.2000

>> 3%1.6

>> 1.4

The absolute value of IEEERem can be obtained using the rem function

Calculates the Least Common Multiple of two or more values.

Calculates product of the arguments. Expects one or more arguments. If any one of the arguments is an array, all are taken as array. In that case the result is an array of products of each individual array. The behavior is different from the multiplication operator '*', where an array can be multiplied by a single number.

Returns absolute value of IEEE Remainder (refer to IEEERem function). The returned values are calculated differently from the '%' operator. Consider the following example:

>> rem (3, 1.6)

>> 0.2000

>> 3%1.6

>> 1.4

Calculates square root of the given value(s).

Calculates sum of the arguments. Expects one or more arguments. If any one of the arguments is an array, all are taken as array. In that case the result is an array of sums of each individual array.

1AvM287k9ocUbqp6SPhGLzyGqFx3JZFcSA

Your donations will help keep this free service running.