Re: [PATCH] staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error

2019-11-19 Thread Ian Abbott
On 18/11/2019 23:07, Bernd Porr wrote: The userspace comedilib function 'get_cmd_generic_timed' fills the cmd structure with an informed guess and then calls the function 'usbduxfast_ai_cmdtest' in this driver repeatedly while 'usbduxfast_ai_cmdtest' is modifying the cmd struct until it no

[PATCH] staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error

2019-11-18 Thread Bernd Porr
The userspace comedilib function 'get_cmd_generic_timed' fills the cmd structure with an informed guess and then calls the function 'usbduxfast_ai_cmdtest' in this driver repeatedly while 'usbduxfast_ai_cmdtest' is modifying the cmd struct until it no longer changes. However, because of rounding