math_get_epsilon

Get the "machine epsilon" for floating point calculations.

Syntax:

GML Code Example

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:

GML Code Example

var e = math_get_epsilon();

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


Back: Maths



No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here