math_get_epsilon

This function returns the current epsilon value.

The default epsilon value is 0.00001.

For more information on epsilon, please see the function math_set_epsilon.

 

Syntax:

math_get_epsilon();

 

Returns:

Real

 

Example:

var e = math_get_epsilon();
if (e != 0.000001)
{
    math_set_epsilon(0.000001);
}

This will retrieve the current epsilon value and store it in a local variable, which is then checked and a new epsilon set if required.