Re: [hatari-devel] STe DMA sound -> new downsampling method

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 05/10/2019 à 14:05, Thorsten Otto a écrit :
On Samstag, 5. Oktober 2019 12:58:42 CEST Nicolas Pomarède wrote:
  Explicitely casting using
'LL' will make every compiler/OS happy.

I would rather use a real cast to uint64_t, or UINT64_C() when using
constants. 'L' is already 64bit on linux, so 'LL' might be even larger than
you expect.

yes, could be made in several ways. But in that case having too much precision would not be a problem as the result of this mult/div is stored in a 32 bit in the end.




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/