0
0

I’ve been creating engines using the engine designer and noticed that load centered on .5 in the example fdp. In the engine fdp that I was working on today I decided that I wanted load to center on 0 instead so I made the minimum value -.5 and the maximum value .5. After doing this the range seemed to adjust appropriately except that zero is now represented as -1.49012e-08. Is this going to cause any problems code side? Please advise.

  • You must to post comments
0
0

no i dont think that is a problem you just have a value there that is extremely close to 0 but not quite 0. You generally don’t do comparisons of literal values with floats anyway, just greater than/less than because of ieee inaccuracy.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.