math_get_epsilon

Get the "machine epsilon" for floating point calculations.

Syntax:

math_get_epsilon();


Returns: Real


Description

This function will return the current epsilon value for the target platform. For more information on epsilon, please see the function math_set_epsilon().


Example:

var e = math_get_epsilon();

This will retrieve the current epsilon value and store it in a local variable.


Back: Maths
Next: math_set_epsilon
© Copyright YoYo Games Ltd. 2018 All Rights Reserved