Re: [PATCH 2/2] improve precision of throttle_pct

2025-01-22 Thread fuqiang wang
On 2025/1/21 20:25, Yong Huang wrote: On Tue, Dec 31, 2024 at 9:56 AM fuqiang wang wrote: Using the current algorithm, there are issues with precision not being handled correctly during division operations. (Even though double type casting is used in the function, it does not seem to have an

Re: [PATCH 2/2] improve precision of throttle_pct

2025-01-21 Thread Yong Huang
On Tue, Dec 31, 2024 at 9:56 AM fuqiang wang wrote: > Using the current algorithm, there are issues with precision not being > handled correctly during division operations. (Even though double type > casting is used in the function, it does not seem to have any effect.) > Refer to the results of

[PATCH 2/2] improve precision of throttle_pct

2024-12-30 Thread fuqiang wang
Using the current algorithm, there are issues with precision not being handled correctly during division operations. (Even though double type casting is used in the function, it does not seem to have any effect.) Refer to the results of the test program from [1]. When there is a large discrepancy b