Re: [hatari-devel] patch: Add some missing include directives

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


On Donnerstag, 5. Dezember 2019 20:42:53 CET Nicolas Pomarède wrote:
>  Not all bits are used in
> the case of the ~bool , so in the end it works.

I disagree. The code in question wants do to some rounding, and the result of 
the expression is anded to zSig0. In this case it is using the result of 
~((bool)0)  aka 1, and anding that to zSig0, essentially clearing all but the 
least significant bit.






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