Commit 471486b
tda19988: Fix divisor calculation
The existing calculation was linear with a fixup to make it non-linear
(and, correctly, cap it at 3). However, the actual value is logarithmic
and this ended up generating bad values in the following ranges:
* [20000, 37125] - gave a divisor of 3 not 2
* [40000, 49500] - gave a divisor of 2 not 1
* [74251, 79999] - gave a divisor of 0 not 11 parent 891d1fb commit 471486b
1 file changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
778 | 778 | | |
779 | 779 | | |
780 | 780 | | |
781 | | - | |
782 | | - | |
783 | | - | |
784 | | - | |
785 | | - | |
786 | | - | |
| 781 | + | |
787 | 782 | | |
788 | 783 | | |
789 | 784 | | |
| |||
0 commit comments