Login Page - Create Account

Support Board


Date/Time: Tue, 26 Nov 2024 04:43:21 +0000



Post From: ACSIL: commission mismatch

[2024-01-14 08:45:59]
BrMa - Posts: 80
Thank you very much for your reply!
I know about that but I believe this can't be the reason.

If you store a floating point you may experience small differences (as it is also explained in the link: the value 1.234 could possibly be stored as 1.233999999) - this can be simply explained by how values are stored in a computer in bits (and therefore representations of 2^x).

In my case the difference is much larger and the value provided cannot be explained by this shift - comparing the differences shows the following:
example from the documentation: 1E-09
actual value of my application: 3,09944E-07

This difference is 310(!) times larger and is not a difference that can be easily explained with the "bit-representation".
In other words: I guess there is some kind of transformation done (maybe multiple conversion between different representations?), leading to this difference and I would like to ask SierraChart-Engineers to take a look because all calculations making use of the commission are calculated in an imprecise way.

Thank you!