Jump to content

iMemEditor Float Tolerance


Go to solution Solved by bR34Kr,

2 posts in this topic

Recommended Posts

Posted (edited)

Ive just gone and bough iMemEditor from the official website and I’ve installed It on my device. I know most of the functions but I’m not sure what the float tolerance is for. It’s set to 1 by default but id like to know what it’s for. Thanks 

 

Updated by Jonny77
  • Solution
Posted

It's probably the range/margin of error for floating point numbers. I recommend your read IEEE754

to understand how floating point is stored on computers but TL;DR: It's very lossy. So if you store 25.5, it may not be able to exist and might go store it as 25.00000001 etc. Because of this margin of error, if thousands upon thousands of calculations are done on the value (position for example), then the error will get amplified and may change a difference of 1 in the result for example. So the tolerance would be how much you handle errors like this. A tolerance of 1 is very generous but it should be fine :)

  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines