Giovanni Mascellani (@giomasce) commented about libs/vkd3d-shader/spirv.c:
++e;m &= ~0x400u;}- }
- else if (e == 31u)
- {
if (!m){/* Positive or negative infinity */return s | 0x7f800000u;}else{/* Nan -- preserve sign and significand bits */return s | 0x7f800000u | (m << 13);}
No problem if you want to keep it for clarity, but the two branches are actually identical if `!m`.