"rr = 10000*L
R = div32 H
this gives the correct answer"
Yes indeed ... as long L=350123, really...
What a coincident
Have only tested different values for L,
when H=37234 and noticed that I was wrong, totally wrong(?).
When L=310123 or 360123 (both values slightly over the real and needed values) the result R is more or less wrong.
L=360123 gives 8704 when it should be 8707, not a big error but too big anyway.
L=310123 gives 6401 and it should be 6457 this error again is huge...
Maybe there is some work around this, but I don't know one, do you?
For ex. if we say we will stay within L=310000 to 360000 and H=20000 to 40000,
we could "graphically" see the lines through the L points and H points,
meaning the points from min to max, and from these calculate an offset to result.
Or something like this...
Perhaps there is some other solution(s), does anybody know this??
Please help![]()
Bookmarks