math operation | |
Type | glossary |
Dictionary | LCS |
Library | LiveCode Script |
Description | Any of the math operations in command, function or infix form, including arithmetic, exponential, logarithmic, trigonometric and statistical functions. A math operation can cause one of three different execution errors to be thrown: - "numeric: domain error" - "numeric: range error (overflow)" - "numeric: divide by zero" A domain error occurs when a math operation, given finite inputs, results
in not-a-number (NaN) - this is the case when the function is not defined
for the given inputs, for example A range error occurs when a math operation's output overflows given finite
inputs, i.e. when the result is greater than the maximum value of a 64-bit
floating point, for example A divide by zero error occurs when a math operation causes division by zero
either directly, for example Math operations do not throw execution errors when any of the inputs are
non-finite, for example neither of |